Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Assignee validator

Gui Ávila
Contributor
January 3, 2021

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.

1 answer

1 accepted

2 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 2021

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"

Gui Ávila
Contributor
January 3, 2021

Thanks @Nic Brough -Adaptavist- . Of course, makes sense.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events