Rollup story points to Epic level, if story points on a subtask of a child story is updated

お困りですか?

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

コミュニティに質問


プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。

 

要約


Rollup story points to Epic level, if story points on a subtask of a child story is updated

環境

Can be used in both cloud and server environment.

ソリューション

Basically, this rule will help you in summing up the story points from Sub-task(child) to Story(Parent) to Epic(Top level issue-hierarchy). In simple terms, whenever you update the story points in the sub-task, they get updated in their Story(Parent) and the Epic level too.

Note: In the rule details page, make sure you tick mark the checkbox for Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule.

Steps to create the automation rule:

  1. Create a rule trigger with Field value changed with Story points and click on save. 

  2. Add IF: add a condition component, then choose IF, ELSE: add condition options. Under "Run actions if" select "All conditions match" and click on add conditions and select JQL condition with the JQL as issuetype = Sub-task and click on save.

  3. Now add the component FOR EACH: Create a branch > Brach rule/related issues and under Type of related issues, select Parent. Click on Save. 

  4. Add a component THEN: add an action > Edit issue > select Story points. Add smart value {{issue.subtasks.Story Points.sum}}. Click on Save.
  5. Now its time to add else condition by selecting Add else. Under "Run actions if" select "All conditions match" and click on add conditions and select JQL condition with the JQL as issuetype = story and click on save.
  6. Now add the component FOR EACH: Create a branch > Brach rule/related issues and under Type of related issues, select Epic (parent). Click on Save.

  7. Add a component THEN: add an action > Lookup issues and enter the JQL with "Epic Link" = "{{issue.key}}". Click on Save.

  8. Add a component THEN: add an action > Edit issue > select Story points. Add smart value {{lookupIssues.Story Points.sum}}. Click on Save.


最終更新日: 2023 年 10 月 25 日

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

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