I'm building a new WF in JIRA and I would like to hide a transition if current user is also the reporter. I would like to do this with jira built-in condition builder. It should looks like this:
The field Reporter will have to be not equal to value 'CURRENT_USER'. Compared as String.
I'm not shore if 'CURRENT_USER' is right variable.
I could use "Only Reporter Condition" : Only the reporter of the issue can execute this transition. if ther will be option for negation.
Hope somebody could help me.
Hey everyone,
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.
Regards,
Andy
Hi Marjan,
Did you find a solution?
I'm using the following workaround:
You'll need the script runner add-on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, was there a way to do this without scriptrunner?
At the moment I'm trying:
The field Reporter will have to be not equal to value '%%CURRENT_USER%%'. Compared as String
But it doesn't seem to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.