Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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?
Thanks,
Kevin
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Give me 10 minutes I might have something for you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How can I limit the usage of Transition Buttons to only once? Any specific steps I need to follow?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin,
Uploaded the plugin for you. It is available at
https://bitbucket.org/bhushan154/not-reporter-workflow-plugin/overview
Documentation available at
https://bitbucket.org/bhushan154/not-reporter-workflow-plugin/wiki/Home
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.
https://bitbucket.org/bhushan154/not-reporter-workflow-plugin/issues?status=new&status=open
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks so much for this! I was looking for something to do this exact thing and stumbled across this page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This add-on does the job as well.
adaptavist ScriptRunner for JIRA
Just need to add the following condition to the transition:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the above mentioned plugin is not at all working , Please help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
https://confluence.atlassian.com/display/JIRA/Configuring+Workflow#ConfiguringWorkflow-conditions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bhushan.
Unfortunately, I made a mistake within my title. It should be in “negative”.
Kind regards,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.