Unable to delete workflow due to umlaut characters

When creating a new Project using JIRA's creating wizard, one is prompted with several project type options to choose from (Simple Issue Tracking, Project Management, ..., JIRA Default Schemes). If any but the last option is chosen, a new workflow definition for that project is created automatically by JIRA.

This can cause problems in non English JIRA instances because the name of the newly created workflow is taken from the translated project type name and the workflow name is needed to do any operations on the workflow in the Admin panel (under Issues -> Workflows). Since JIRA can't deal with umlaut characters very well, I got the following error while trying to manage the workflow in question:

Workflow with name ''WIA: Arbeitsablauf für die einfache Verfolgung von Vorgängen'' does not exist.

How can the workflow be administered if JIRA does not even allow to change the name based only on the ID of the workflow?

1 answer

1 accepted

The "solution" is to change the name of the workflow in the Database and avoid using any project type options but the JIRA Default Scheme in the future:

  1. BACKUP your JIRA instance!
  2. Disassociate the workflow with any project (making the workflow inaktive)
  3. Disassociate the workflow with any workflow scheme
  4. Update the workflow directly in the database:

    UPDATE jiraworkflows 
    SET workflowname = 'your_safe_name' 
    WHERE id IN (SELECT id FROM jiraworkflows WHERE name LIKE '%your_workflow_name%')
  5. Proceed in similar manner for the jiradraftworkflows if any drafts exist

  6. Proceed in similar manner for the os_wfentry if applicable
  7. Restart JIRA

Volá, you should now be able to normally operate with the workflows!

 

Please also vote for https://jira.atlassian.com/browse/JRA-33299 to have this issue fixed by Atlassian!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

894 views 3 12
Read article

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