-
You may use groovy script to return list of users applicable for issue assignment, for instance, member of certain group. etc. To do it:
- Switch to
Administration / Groovy Scriptand add a script to returned desired users. For instance below script returns list of users fromdevgroup:
import io.onedev.server.OneDev import io.onedev.server.entitymanager.GroupManager def assignees = [] for (member in OneDev.getInstance(GroupManager.class).find("dev").members) { assignees.add(member.name) } return assignees- Switch to
Administration / Issue Setting / Custom Fieldand configure theAssigneefield to specifyAvailable ChoicesasEvaluate script to get choicesand choose script created in step 1.
- Switch to
-
Previous Value Current Value Open
Closed
| Type |
New Feature
|
| Priority |
Normal
|
| Assignee |
Issue Votes (0)
When I create a new issue, all the users are within the Assignee list.
I don't like having my clients within that list, especially when I'm creating an issue outside of their project.
Is there a way to either show only staff members, or at least prioritise/group them?