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

Sum of Story Points for lookup issues for an Epic doesn't give correct total - Why?

Cash Coyne
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.
January 4, 2024

I have an Automation Rule that runs on just Epics and does this lookup:

parent = {{issue}} order by issuekey

image.png

I want to get a sum of the story points of the children of that epic (I've attached a screenshot of the children with their story points)

image.png

I've put in a log entry to show the children and their story points, then using this to show the sum of those story points:

{{lookupIssues.Story Points.sum}}

I've attached a result of 2 different log runs with the only difference being the order by order for the lookup JQL

image.pngimage.png

But looking at the log, it shows story points only for the first child that is shown on the screenshot showing the epics story points, (this is the case even if I change the order by field) and the sum of the story points is only the story points for the first child.

Why does the lookup not provide the story points for all the child issues?

 

1 answer

1 accepted

0 votes
Answer accepted
Cash Coyne
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.
January 5, 2024

I figured it out.

There was an issue type that was not in the Default Configuration Scheme for Story Points.  So, while the issues for that issue type had story points, automation did not get them as they were not part of the scheme.  I added them to the scheme and it seems to be working.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events