You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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
yes, I need a more explicit example, I already know the steps, need scriptrunner code examples.
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.