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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

765 views 2 19
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