Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A trouble with assign new issue to user #277

Open
RKVitaly opened this issue Mar 17, 2016 · 3 comments
Open

A trouble with assign new issue to user #277

RKVitaly opened this issue Mar 17, 2016 · 3 comments

Comments

@RKVitaly
Copy link

"Assigned to" combobox is empty (
But several users was added in the project
bug
Thank you

@RKVitaly RKVitaly changed the title I have a trouble with assign new issue to user A trouble with assign new issue to user Mar 17, 2016
@RKVitaly
Copy link
Author

P.S.
If I select existing category (each category assigned to one user), the issue will be assigned to category's user but I can not edit user, only category.

@avemay
Copy link

avemay commented May 14, 2017

The same situation... what could be the reason?

@avemay
Copy link

avemay commented May 20, 2017

A possible solution is to add the code:
mysite.com\app\View\Elements\issues\attribute.ctp

<p>
	<?php echo $this->Form->label('assigned_to_id', __('Assigned to')); ?>
	<?php // echo $this->Form->input('assigned_to_id', array('type' => 'select', 'div' => false, 'label' => false, 'empty' => true, 'options' => $assignable_users)); ?>
	<?php
	foreach ($main_project['User'] as $project_user) {
		$project_members[$project_user['id']] = $project_user['firstname'].' '.$project_user['lastname'];
	}
	echo $this->Form->input('assigned_to_id', array('type' => 'select', 'div' => false, 'label' => false, 'empty' => false, 'options' => $project_members));
	?>
</p>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants