This is a feature, but more specifically it's a MISSING feature.
If I can duplicate a workflow, add the outgoing transition, and then replace the active workflow with the new workflow, clearly Jira is internally handling whatever resolution state concerns there are. There's no reason the same migration logic couldn't be implemented when publishing a draft workflow.
Short of this obvious solution, there are two other changes Jira could make to mitigate this flaw:
- As others have already noted, do not allow users to create outgoing transitions on statuses that lack them when editing draft workflows. This avoids wasted time and effort, but does not really help the user understand why they can't do what should be straightforward.
- Since the user is going to have to copy the workflow, Jira could at least make it straightforward to do so. Currently the ability to copy workflows is hidden away in Jira's global settings, but most users are going to approach this problem via a particular project's workflows page. Why not offer a link to duplicate the workflow at the same time that you show the error message to the user? Or at the very least, add a Copy Workflow link to the Project Workflows page, either as an Actions icon, or as a dropdown option on the Add Workflow button?
This issue is still dumb