Need to add a condition on a transition, ( Role based )
A. There is a role " programmers " in the project.
i need to add a condition that users in role " programmers " should not be allowed the transition.
i have tried the script condition "isUserMemberOfRole('Programmers')" ( which allows only the users in Programmers role to make the transition)
But what i need is opposite , ( users in the role Programmers should not be allowd the transition )
Hi @Siva
Which tool are you using to implement the condition?
If it's groovy/scriptrunner you could use the not operator "!"
e.g.
!isUserMemberOfRole('Programmers')
Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!
Join an Atlassian Community Event!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.