Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.