You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I've read countless articles on this and outside of summing Story Points of Sub-tasks, I cannot get this to work for Tasks.
Does anyone have code that sums Story Points from a Task to it's parent Story? or just code that sums Story Points from children to its Parent?
These do not work:
Hello @Jay R
Welcome to the Atlassian community.
The native parent/child issue hierarchy in Jira is
Epic
|-- base issue types: Story, Task, Bug, etc.
|-- subtask issue types
Jira does not recognize that there is a parent/child relationship between a Task and a Story when you have used the generic issue linking function to artificially create that relationship by using names in the link that say "parent of/child of".
I am surmising that you have used the generic issue linking functionality because in your automation rule you have this Condition:
Can you provide a screen image that shows the details of one of your "parent" Stories that has "child" Tasks so I can confirm this is the case?
If you have used generic issue linking to create that parent/child relationship, then use of the "For Parent" branch in the automation rule will not work because Jira does not see the generic link as a parent/child relationship.
Assuming you are using generic issue linking...
Does a Task have that link with one and only one Story?
Here is a rule for summing up story points through a generic link relationship. In my case the link relationship is Story "has bug" Bug. Stated in the reverse that would be Bug "is child bug of" Story , which is similar to your generic parent/child link.
This rule is triggered when the Story Points on the child Bug is changed.
You might also want rules that recalculate the story point sum if a Task is newly linked to a Story, and if a link between a Task and Story is removed.
Hello @Jay R
Did my answer above solve your problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.