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.

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

JIRA Hide transition for current user

Marjan Zidanik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 18, 2017

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.

 

 

2 answers

1 accepted

1 vote
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 15, 2017

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

Envitia December 18, 2017

Hi Andy,

 

Thanks, that looks like it would do the trick, and it's free!

 

Much appreciated.

 

Kal

1 vote
Hector Vazquez
Contributor
August 23, 2017

Hi Marjan,

Did you find a solution?

I'm using the following workaround:

  1. Created a scripted field that is populated with the Reporter.
  2. Used the "User Is In Custom field - not in" condition.

You'll need the script runner add-on.

Envitia December 14, 2017

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.

Like Consulente Atlassian likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events