How to set a Jira expression on workflow condition for user must be in "Jira-administrator" group or Project role "atlassian-addons-project-access"
I able to set this by using the Jira expression
user.groups.includes("jira-administrators") || user.getProjectRoles(project).map(p => p.name).includes("atlassian-addons-project-access")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Conditions for group and project role are native capabilities. You would set two conditions:
By default conditions will be set to operate where all conditions must be true. You then just need to change the drop-down to "Any of the following conditions". See the screenshot below:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Kishore -
If you click on a workflow transition, you can add a condition. There are several available (see screen shot) that allow you to specify user must be in a specific group or role in order to see/use the transition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.