Here is my workflow:
The relevant transition here is Not Fixed. This is the transition from Resolved to Reopened. I use this when a defect is reported by the developer to have been fixed, but then fails internal testing.
If the defect passes internal testing, I'll deploy it to production and mark the ticket as Deployed to Prod. However, it is quite possible that the defect may re-appear in production if the fix (and testing) was not as comprehensive as it should have been. In this case I'd like to implement the same transition in order to reopen the ticket.
So here's the workflow I'm trying to implement. You can see it at the bottom of the diagram, I am reusing the Not Fixed transition to go from Deployed to Prod back to the Reopened state.
Great - so everything is looking good and now I try to publish the draft. I have no idea what this means or how to work around this.
You are editing a draft workflow. The step 'Deployed to Prod' has no outgoing transitions in the Active workflow, so you cannot add any outgoing transitions in the Draft workflow.
How do I get past this? Thanks!
This is due to a howling bug in the "draft workflow" function.
It is annoying, and it has been reported many times to Atlassian, but they're not going to fix it because:
All of those reasons push it way down their list of priorities.
To avoid it: Train your admins that when they create or edit a workflow, remember to always have an outgoing transition on every step. If you genuinely need a dead-end status that cannot be moved out of, create a transition back to any other step and stick a very limited conditions on it (like "must be a jira administrator" - that works for most places as they'll only have 3 or 4 and they probably won't have any reason to use it)
To work around it when you've run into it:
Ugh - reading all the other posts on exactly this issue. Annoying. What I'm doing must be one of the most popular use-cases in the universe. I'm taking an existing workflow and extending it.
Why should ADDING a new transition be prohibited? This should be an operation which is completely backward compatible! It's not like I'm removing something which already exists in prior tickets which used the workflow.
Imagine where relational databases would be today if you weren't allowed to add a new table to an active database. Or add a new column to an active table. Or add a new constraint to an active column. (Like I said - when you generalize, it's one of the most popular use-cases in the universe.)
:-(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.