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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.