Forums

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

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

Deleted user March 20, 2019

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? 

Thanks!

1 answer

0 votes
Brant Schroeder
Community Champion
March 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.  

Deleted user March 20, 2019

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 Champion
March 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.

Deleted user March 20, 2019

Fantastic :) 

Thanks for the help and info.

Paul Mata
Contributor
November 20, 2019

@[deleted], 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
TAGS
AUG Leaders

Atlassian Community Events