Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to prevent a user from assigning an issue to themselves for a follow on status?

I am trying to make sure a developer cannot progress a jira all the way through the workflow on their own.  I want to prevent then from say moving an IR from In Progress to In Code review and assigning themselves as the code reviewer.

I have a transition where the screen will pop up requesting an assignee (of course it populates with themselves if its already assigned to them) but I want to ensure they pick someone other then themselves to transition to the next status.  Is that possible?  I can't figure out which condition, validator, or post condition to use.

thank you

3 answers

Hi @Crazy Cam ,

You can achieve your requirement using JMWE add-on.

Add a "Scripted (Groovy) Validator (JMWE app)" validator on the transition.

If the "Assignee" field is mandatory during the transition and it should not be the current user, then add the below Groovy Script : 

!!issue.get("assignee") && !currentUser.equals(issue.get("assignee"))


Else, if the "Assignee" field is not mandatory during the transition, but if entered, then it should not be the current user, then add the below Groovy Script : 

!issue.get("assignee") || !currentUser.equals(issue.get("assignee"))

Assignee(not mandatory).png

Hope this helps!



Hi @Crazy Cam You can do this easily by putting condition in workflow. 

First move all developers to a particular project role like Developers project role.  Then put condition on the transition which you dont want to allow them. 

This option is only available in codition when JSU plugin in installed in JIRA .

User in role.PNG As @John Funk  said if have any other plugin like Script Runner or JWME you can use those also for putting condition. 



0 votes
John Funk Community Leader May 26, 2021

Hi @Crazy Cam  - It will probably take an add-on like JWME or ScriptRunner to be able to control that. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

122 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you