Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

[Automation For Jira] 自動化ルールが各課題で一回のみ実行されるようにしたい

よくあるお問い合わせ

課題の期限フィールドが更新された際に、初回だけ自動化ルールが実行されるようにしたいですが、「1回だけ」のような条件がなかったため、実装できません。

 

解決策・回答

恐れ入りますが、現状Jiraの自動化ルールには「初回のみ」のような条件がないため、初回実行のフラグ用のカスタムフィールドを作成し、自動化ルールからこちらのカスタムフィールドをチェックする条件式を入れる形で間接的に実現できます。

  1. 初回実行のフラグとして、「選択リスト(単一選択)」フィールドを作成する。
    atlassian-support 2024-02-26 at 16.25.49.png

  2. 今回自動化ルールを実装する対象プロジェクトに上記のカスタムフィールドを追加する。

  3. 自動化ルールより初回実行のフラグが”True”の場合のみ、次のアクションに移動する条件を追加する。
    atlassian-support 2024-02-26 at 16.51.22.png

  4. その場合、初回実行のフラグをTrueに変更するアクションを追加する。
    atlassian-support 2024-02-26 at 16.39.19.png

1 comment

Comment

Log in or Sign up to comment
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2024

Greetings!

Rather than using a custom field to preserve this state information, consider using an entity property on the issue.  That is less likely to be tampered with, and so not alter the intended behavior.

Kind regards,
Bill

TAGS
AUG Leaders

Atlassian Community Events