Automation For Jira - How to create a rule that is triggered when the Parent Link is populated

お困りですか?

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

コミュニティに質問

robotsnoindex

プラットフォームについて: 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 は除く

    

要約

Advanced Roadmap uses the Parent Link field to link Parent issues to a child issue based on how the hierarchy levels are configured.

Let's assume that the hierarchy levels were configured so that an Initiative type issue is a parent of an Epic type issue. In such case:

  • To link the Epic to the Initiative issue, the Parent Link field of the Epic issue needs to be populated with the issue key of the Initiative
  • Issue Links are not used to link Epic issues to Initiative issues

The purpose of this KB article is to explain how to create an automation rule that is triggered when an issue is linked to a parent issue via the Parent Link field.

環境

  • Jira Server Data Center from version 8.20.0
  • Automation For Jira from version 8.0.0

ソリューション

ルール構成

(info) Even though the Parent Link field is not listed in the dropdown menu of the Field value changed trigger, it is actually possible to use this field as explained in the steps shown below.

Here is how the rule can be configured:

  • Add a Field Value Changed trigger, and configure it by following the steps below
    • Type "Parent Link" in the Fields to monitor for changes field (instead of searching for the field in the dropdown menu)
    • You'll see some text saying "Match Parent Link"
    • Press the Enter key
    • After you press Enter, you'll see that the field is displayed with the text "Parent Link (Match)"
  • Add an Advanced Compare condition, and use the parameters below:
    • 最初の値:

      {{fieldChange.toString}}
    • Condition: "Does not equal"
    • 第 2 の値: 空
  • Add the action of your choice

Screenshot of the automation rule



既知の問題

The rule might not get triggered when the "Parent Link" field is updated if the 3rd party add-on Field Security Plugin for Jira is installed in your Jira application. For more information about this issue, please refer to the article Automation For Jira - Some automation rules using the "Field value changed" trigger are not triggered.


最終更新日 2024 年 6 月 3 日

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

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