エピックのステータスをエピック課題ステータスにリンクする

お困りですか?

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

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く


The solution described in this KB article requires the usage of a workflow post-function which allows to copy the value of a field to another field, which is not available in Jira out-of-the-box.

This type of post-function is only available by installing a paid third-party add-on, including but not limited to:

Such solution falls outside of Atlassian Support scope. If you face any issue while using the validator coming from any of these add-ons, we recommend reaching out to the respective add-on support team.

目的

An Epic is a bit different from normal issue statuses in Jira. This is because it has an Epic Status as well as an Epic Issue Status (which comes from workflows). The reasoning behind the difference between these 2 statuses is explained in the documentation Working with epic statuses.

By default, this field is hidden and it has the following values:

  • 作業前
  • 進行中
  • 完了

この記事では、エピックのステータスをソフトウェア簡易ワークフローのステータスにリンクする方法について説明します。

環境

Jira Software Server / Data Center, any version from 8.0.0.

ソリューション

これは、新しいワークフローを作成してそれをエピック課題タイプに関連付けることで実現します。


準備

Make sure that you are clear on which Workflow Statuses map to which Epic Statuses, and that they are created prior to starting this exercise:

In addition, you'll need to use one of the paid third-party add-ons listed below:


ステップは次のとおりです。

Step 1: Creating the new workflow

  • Log into Jira as a Jira Admin user
  • Go to the Project Settings > Workflows page, for the Jira Software project for which you want to link the Epic Status to the Issue Status
  • By default, in Software projects, the same workflow should be associated to any issue type as shown in the screenshot below. However this time, for our solution to work, we will need to configure a new workflow which will be only used by the Epic issue type
  • Go to the page ⚙ > Issues > Workflows, look for the workflow identified in the previous step, and make a copy of it



Step 2: Editing the new workflow

  • Edit the new workflow created in Step 1 (by making a copy of an existing workflow)
  • From the diagram view, edit each single transition in this workflow by following the steps below:
    • Click on on the transition and then click on the link Post Functions
    • From the post function page, click on the link Add post function. You will be redirected to a page showing the list of available post functions:
      • In case you chose to use the add-on JSU Automation Suite for Jira Workflows
        • Select the post function called Copy Value From Other Field (JSU) 

        • In the Copy Field setting, select Status to Epic Status 

        • Click on the Add button at the bottom of the page
      • In case you chose to use the add-on Jira Misc Workflow Extensions (JMWE)
        • Select the post function called Copy value from field to field (JMWE app) 

        • Select "Status (status)" for the Source Field, and "Epic Status" for the Destination Field

        • Click on the Add button at the bottom of the page
    • After you added the post-function to the transition, make sure to move it under the Jira native post-function that sets the new status, otherwise the add-on post-function will copy the old issue status to the Epic Status field

  • (warning) Make sure to make the same updates to all the transitions in the workflow
  • After you updated all the transitions, publish the workflow


ステップ 3: ワークフローをエピック課題タイプに関連付ける

  1. Go to ⚙ > Issues > Workflow Schemes
  2. Click Edit for the workflow associated with the Jira Software project for which you want to link the Epic Status to the Issue Status
  3. [ワークフローの追加] > [既存のワークフローの追加] を選択し、新しいワークフローを選択します。
  4. [エピック課題タイプ] を選択します。
  5. 新しいワークフローを [公開] します。


After you complete these steps, when you change the status of an issue of Epic type, the Epic Status will reflect the Issue Workflow status, as shown in the example below:




最終更新日: 2024 年 1 月 11 日

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

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