Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

When The Issue Priority Field is "High and Highest" the Particular Transtions Has to Hide in Status

Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 15, 2018

Hi Team,

I have A Work Flow IN that I have Status Called "A, B, C and D" 

and each status have Tranistion called "Close and Refer Close"

Now When the Issue priority comes with "High and Highest" Value In those status those transition has to Hide. 

Can Any body help me please how to achieve this.

 

Thanks,

Kumar

1 answer

1 accepted

0 votes
Answer accepted
Thomas Schlegel
Community Champion
November 15, 2018

Hi @Kumar

you mention the scriptrunner app, so I think, you can use it in your instance.  Then do something like this:

Create your transition and add a Script Condition as a workflow condition:

Use "Allows the transition if this query matches a JQL query" with the following query

project = <your-project-key> and priority not in ("High", "Highest")

With plain Jira, something like this is not possible.

Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 15, 2018

Hi @Thomas Schlegel awesome It Worked Thanks you So Much

Kumar

Thomas Schlegel
Community Champion
November 15, 2018

You‘re welcome, @Kumar

Suggest an answer

Log in or Sign up to answer