Hi,
I'm trying to add two types of validators (in different transitions):
- If the current user is the assignee, the transition is allowed.
- If the current user is NOT the assignee, the transition is allowed.
Please, how can I add these validators? I did not find in the options for validators. Do I really need to use a third party app, from marketplace because Jira does not allow this out of the box?
Thanks,
Gui.
Validators would be a bad way to do this, ugly for the end user, so Jira hasn't got any suitable ones built in. A validator acts after a user has triggered a transition, potentially having entered data that they want to change. If the validation fails, the user will be thrown back to the beginning, which is annoying and means they'll lose the data they put in.
Look instead to conditions. These will stop people being even able to start the transition, so they'll never get frustrated by "you can't do this, and I'm throwing away your data" messages.
There is a built-in condition for "assignee = current user"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.