Renaming Workflow Changes Workflow Layout

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

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:

 

診断

  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.

原因

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

回避策

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.

 

最終更新日: 2016 年 2 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.