Renaming Workflow Changes Workflow Layout

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After changing the name of a workflow using the Workflow Designer Plugin, the workflow layout is out of order, as outlined in the following screenshots:

 

Diagnosis

  1. Create or copy a workflow
  2. Adjust and save the layout
  3. Rename  and Save the workflow 

If you change the workflow name back, the layout will work.

Cause

The Workflow Designer Plugin saves the layout per workflow name, causing the problem once you change the name.

Workaround

Create a backup of your database before following the steps below.

1- Shutdown Jira;

2- Go to your database and run the following query:

SELECT * FROM propertyentry WHERE entity_name LIKE '%design%';
  • The following information should appear;
  id   |                    entity_name                    | entity_id |             property_key              | propertytype 
-------+---------------------------------------------------+-----------+---------------------------------------+--------------
 27535 | com.atlassian.jira.plugins.jira-workflow-designer |         1 | jira.jwd.layout:Copy of Epic Workflow |            6

3- Copy the id and property_key and run the following query updating the <new_workflow_name> and <id> :

 UPDATE propertyentry SET property_key = 'jira.jwd.layout:<new_workflow_name>' WHERE id = <id>;

4- Restart the database;

5- Restart Jira.

 

Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.