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

This widget could not be displayed.

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
Community showcase
Posted Tuesday 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...

173 views 1 3
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