Forums

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

How to prevent the transition to a status that has "Allow all statuses to transition to" from a spec

Samuel Bar
Contributor
September 23, 2020

In my Workflow, I have a status marked as "Allow all statuses to transition to this one".
I would like to block the option to transition to this status from a specific status in the workflow, without the need of creating a specific transition from all the rest of the statuses

 

image.png

3 answers

1 accepted

0 votes
Answer accepted
Samuel Bar
Contributor
September 26, 2020

Thank you all for your advice.
I have found a solution.
Because I want to prevent the transition from Close I can use the resolution field and add a condition to the transition, the resolution will be set to "close" when the status is changed to Close so I can add the condition
Resolution = Empty

1 vote
Niranjan
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.
September 23, 2020

Hi @Samuel Bar ,

If you have JWME plugin, you can add a condition that checks for the current status of the issue. That can be used to restrict Global Transitions to certain statuses.

 

Using script runner, you can add a simple scripted condition like if you want to restrict the transition from done, then you can use

issue.status.name != "Done" on the workflow transition.

Samuel Bar
Contributor
September 23, 2020

Thanks @Niranjan  but I am looking for a solution without the need of buying a plugin

0 votes
Fazila Ashraf
Community Champion
September 23, 2020

One way is to use the postfunction from JMWE plugin that sets the condition (in turn visibility) on the transition to the list of statuses -> https://innovalog.atlassian.net/wiki/spaces/JMWE/pages/171016204/Current+Status+Condition

Samuel Bar
Contributor
September 23, 2020

Thanks @Fazila Ashraf , but I am looking for a solution without the need of buying a plugin

Fazila Ashraf
Community Champion
September 23, 2020

@Samuel Bar  Unfortunately this is not achievable in JIRA with out a plugin.

I would then suggest you to have individual transitions to the target instead of using a shared transition.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events