...
Code Block |
---|
for(string user in usersInGroups({"QA-Testers"})){ if(hasPermission(17, user, key)){ assignee = user; return; } } |
Result: The issue will be assigned to one of the testers who have the permission to be assigned issues on the current project.
Example 2
Tip | ||
---|---|---|
| ||
Attached to this page is permissions.incl which contains variable definitions for all the above permissions. You can upload this file to your JIRA instance via the SIL Manager, include it in your scripts and then use the variables defined there to make the code easier to understand. |
...