...
Info |
---|
Before using SIL User Picker Custom Field check out the Simple Issue Language documentation for a better grasp of SIL usage and capabilities. |
How to configure
Adding a new SIL User Picker Custom Field is as easy as adding any other custom field.
...
Note |
---|
Note that this is a global configuration parameter, that will be applied for all user picker custom fields. |
How to use it
- Go to an issue and check the users available for selection by clicking the user picker icon or by typing something in the input. Only users retrieved from the SIL script will be available for selection (in this case administrators and developers).
...
3. Edit the field on view issue by clicking on the inline edit icon next to the field to see suggested users filtered accordingly to the SIL script.
That's it.
Other Examples
Here are certain SIL scripts examples that you can use to configure your SIL user picker fields. Basically, by means of SIL you can restrict the users selection to whatever criteria you want.
Issue Assignees
Code Block |
---|
string[] assignees; assignees = addElementIfNotExist(assignees, assignee); string[] assigneeHistory = fieldHistory(key, "assignee"); for(number i = 1; i < size(assigneeHistory); i = i + 2) { string assigneeName = getElement(assigneeHistory, i); assignees = addElementIfNotExist(assignees, assigneeName); } return assignees; |
Users in specific role
Code Block |
---|
return usersInRole(project, "Developers"); |
Users in specific group
Code Block |
---|
return usersInGroups("jira-developers"); |
Search Issues
When creating a new SIL User Picker custom field the default searcher set is SIL User Picker and Group Searcher. This filters the available users for the custom field in issue navigator accordingly to the configured SIL script.
...