Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can someone help me create a script so that Assignee cannot be the same user as the User Picker?

John_Diaz March 24, 2020

I'm using a User Picker one of my projects and at any point of the workflow, I do not want the Assignee to be the same user as the user in the User Picker field I have.  I have no idea how to start a script like this and I'm hoping someone would be so kind to share or show me how to develop a script for this.

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Jeroen Poismans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 8, 2021


Can you provide some extra info:

  • Is the User Picker field on the Edit screen, in other words can it be changed with an issue update or only in a transition?
  • Same question for the assignee.

I am asking because if you want to do this kind of validation, you would have to have a "trigger" event for the validation BEFORE the issue is updated.

The update of one of these fields can not be the trigger because by then the value would already have been changed, in other words the validation would be too late.

You can do the validation when these fields are updated in transitions. 




AUG Leaders

Atlassian Community Events