Unable to delete inactive workflow


I am unable to delete inactive workflow. I am getting the following exception:

com.atlassian.cache.CacheException: java.lang.IllegalStateException: There are more than one draft workflows associated with the workflow named 'Application Development Workflow'

Looking at the exception details, I understand the reason why this is happening, but there is no way I can fix this using "On Demand" instance, as I cannot access database to manually remove leftover draft (we are avare that draft should not be left unused in the system, but that is not the subject of this question).

So, please, can anybody help with this one?

Best, Bosko.

P.S.: Full exception stack trace is attached. (exception.txt)

2 answers

This widget could not be displayed.
This widget could not be displayed.

Hi Bosko,

Indeed, workflows in the inactive states can be deleted without a problem. However if you were editing a workflow you first have to publish or discard the draft before deleting the workflow.

Hope this helps?!

Thans for quick answer.

Anyway, option to discard or publish draft makes sense, but entering edit mode of this workflow, there is no option to discard or publish draft, as you can see from attached screenshot.

Thanks, Bosko

Hi Bosko,

Is it possible that you have a workflow scheme in draft to which the to-delete-workflow is attached? I see this message:

Also, are you working in multiple browser tabs on the same JIRA instance?

Hi Benji,

No. The workflow I am trying to delete is not attached to any workflow scheme.

If it is attached to a workflow scheme, the "Delete" link woulnd't be visible (I am avare that deleting workflow is not allowed if it is assigned to any worfklow scheme).

However, I have tried to add it to a workflow scheme, hoping that this would result in option to discard or publish that "ghost" draft, but no, the result was the same. Once entering edit mode of workflow, there was no option to discard or publish active draft (see previous message screenshot).

As for the multiple tabs, no, I am not, I tried this in single tab, single browser window.


Anyone found a solution for this?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

551 views 25 15
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