Hi,
I have a use case where I need to allow transition to the next status to be done by members of a group - but also have groups control who can transition.
So for instance,
If component = A
and
logged in user is member of group ABC
Then allow transition
Similarly,
If component = B
and
logged in user is member of group XYZ
Then allow transition
@Saira ,
You need to write scripted condition where you can check the group of logged in user and the component.
If (component == A && User Group == ABC) return true
elseIf(component == B && User Group == XYZ) return true
else return false.
This API helps you to get user groups -
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-user-get
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.