Unable to Delete Inactive Workflow
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
User has an inactive workflow which shows that is is not assigned to any workflow scheme and it places under the Inactive section on the workflow page, yet there is not Delete button next to this workflow. The draft version of the workflow is not visible in the list of schemes either.

Environment
Jira Data Center
Cause
This workflow , although seen as not assigned to any schemes, is indeed assigned to a workflow scheme which is yet to be published. Check the workflow schemes page for any schemes having a little icon next to the workflow name. If you hover the icon, it will pop out this message : " the workflow scheme has an unpublish draft last edited by .. " . Please refer to the screenshot below:

A suggestion ticket has already been created to improve the visibility of this issue here : JRASERVER-42725 - Improve visibility of workflow associated to workflow scheme which has an unpublished draft
Resolution
Go to the workflow schemes page and check for this icon next to any of the workflow schemes
Click on the appropriate workflow schemes that has that icon above and either publish or discard the draft.
Was this helpful?