Can't delete a workflow step

Don't know if this is a plain JIRA item or a GreenHopper one, but...

Customizing my workflow, I accidentally put in a step from a different workflow. Didn't notice it until an Issue landed in the step. I have changed the workflow and there are no connections to the bad step. But it still appears on the sheet. When I try to delete it, I get this message:

You cannot delete a step on a draft workflow that exists on the parent workflow.

So what's the "parent" workflow and/or how do I get it off the page?

2 answers

1 accepted

Accepted Answer
4 votes

You can't delete a step in draft. You will have to copy the workflow, make changes and activate it as mentioned here:

https://confluence.atlassian.com/display/JIRA/Configuring+Workflow#ConfiguringWorkflow-Limitationswheneditinganactiveworkflow

OK. So what I did was assoicate a different workflow to the project. Then I was able to delete the step and revert the association back. I have had to do that before. But in the past the other situations gave me clear messages. This one about the "parent" workflow is a non-starter.

It might also be useful if the JIRA help could have links for all these canned error messages so you could search on one (as I did) and find out what it is about.

I am having the same problem. From the answer posted above, am I correct to assume that, if you accidentally add a step, you have to discard the draft, create a new bogus workflow, associate all projects that are currently using the workflow that I am trying edit with this bogus workflow, then remove the step from the workflow that I am editing, then reset all projects with the original workflow?

You say, "Discard the draft." If you added the step in the draft, then you can delete it there.

But if the step is in a live workflow, then, yes, you can't just delete it.

My guess is that JIRA can't really tell if the step is in use or not. Hence, you make a copy of your current worflow and apply that to all the appropriate projects. No conversion needs to happen at that point. Then you take your real workflow and delete the step. Now, when you apply the real workflow back to the projects it will go through the conversion process and if it finds anything in the deleted step it will ask you what step to move it to.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,147 views 2 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you