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')
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.