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

Restrict workflow state transition "Current User != Reporter"

Hi fellow JIRA lovers,

Hope you can help me on this one:

I’m currently implementing a very simple review process using workflow. User logs an issue, submits for review and someone from the reviewers group (assigned to a fake user to mimic a group) will be able to push the issue to the next workflow step. This is all working fine however, reviewers are also allowed to log issues and I want to force a peer review.

The rule is quite simple: Current user != Reporter -> Disable button or even better raise an error.

My question is; what would be the best way of getting this implemented?


6 answers

1 accepted

1 vote
Answer accepted

If you want to disable a button, you need to use a condition.

If you want to throw an error, you need to use a validator.

There is no built in validator to do what you are looking for. You can easily write a validator plugin, or use the script runner plugin.

Many thanks Bhushan.

Was hoping that this could be configured but just overseeing the possible option.

Will have to start reading up on how to build a validator plugin.


Give me 10 minutes I might have something for you

How can I limit the usage of Transition Buttons to only once? Any specific steps I need to follow?

Hi Kevin,

Uploaded the plugin for you. It is available at

Documentation available at

I haven't tested it yet and don't think I will be able to do it today. Try it out and let me know if you have any issues.

Thanks so much for this! I was looking for something to do this exact thing and stumbled across this page.

1 vote
Andy Heinzer Atlassian Team Dec 16, 2017

Hey everyone,

For anyone that finds this post today, the plugin posted by Bhushan no longer appears to be updated or compatible with Jira.

I found a free plugin for Jira Server on marketplace that can be used to do this.

You could install the Workflow Enhancer for Jira.  This plugin allows you create a condition type called "Universal Condition".  When you select this and choose Add, you can then configure this condition.

You can then enter a syntax such as:

{Reporter} != [user]

and then set the expression must evaluate to True.   This way if the reporter is also the user that is currently looking at this issue, they cannot make this transition.

Thanks so much for this. Saved me tons of time. 

Like Andy Heinzer likes this

Hi Kevin,

You need to use a workflow condition.

Add a condition which allows only the Reporter of the issue to perform the transition.

1. Go to Administration click on Workflows

2. Choose the workflow you want to edit

3. Click on the Transition you would like to apply the condition to

4. Click on Conditions and select Add

5. Select "Only Reporter Condition"

Documentation available at

Thanks Bhushan.

Unfortunately, I made a mistake within my title. It should be in “negative”.

  • Current user = Reporter -> Disable button or even better raise an error.

Kind regards,

the above mentioned plugin is not at all working , Please help


This add-on does the job as well.

adaptavist ScriptRunner for JIRA

Just need to add the following condition to the transition:


Suggest an answer

Log in or Sign up to answer

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