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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Prevent issue transition if issue was not in a specific state just prior?

We have a final review column in Jira called "Ready for PO", just before "Done" and I want to create an automation with a trigger of: issue transitioned to "Done" AND issue transitioned NOT from "Ready for PO"

I'm trying to make it impossible for people to transition an issue to Done from any other state but Ready for PO.

How can I do this? 


1 answer

0 votes
Brant Schroeder Community Leader Mar 20, 2019

The best way to do this would be to update the workflow so the only transition to done is from ready for PO.  

This makes perfect sense. I'm having trouble, however, adding a transition to my workflow. It says "You cannot perform this operation on a draft workflow" which I'm not sure I understand, because as soon as I begin editing a workflow it becomes a draft. Am I in the wrong place? Can I do this with a Simplified Workflow?

See screenshot.

Thanks again!Screen Shot 2019-03-20 at 12.32.19.png

Brant Schroeder Community Leader Mar 20, 2019

There's a long-standing bug in the workflow editor in that it can only add a transition to steps that already have outgoing transitions. We've been waiting for a fix since the workflow editor got "draft" mode, and I'm afraid it seems to be a very low priority for Atlassian.  So there's no fix forthcoming any time soon. I'm afraid you will need to work on a copy and migrate.

Fantastic :) 

Thanks for the help and info.

@Chris Hutchens, I realize that your question is several months old but I wanted to make sure you understand the reason you can't edit the workflow is because it is associate to your project. This is done intentionally, I believe, to ensure you don't change a workflow that is associated with multiple projects because the change you are making may break the other project(s). Very simple workaround is to create a duplicate of your current workflow, edit that, then associate that new workflow with your project.

See this article in Atlassian's documentation for more information about working with worflows.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,431 views 22 32
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you