Automation to send email with completed story points sum at sprint completion

Bisrat Shebeshe May 19, 2023

Hello,

 

I recently created an automation to send an email when sprint was completed. The email should include the sum of all story points in the sprint. However, it sent an email with a sum of story points of 0.

Anything I should change to correct this?

 

Thank you!

photo_2023-05-19_21-17-27.jpg

2 answers

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 19, 2023

Hello @Bisrat Shebeshe 

Welcome to the Atlassian community.

You have not confirmed that your Lookup Issues action actually found any issues. Check the Audit Log for the rule execution. If no issues were found by the lookup action you'll see a message like this:

Screen Shot 2023-05-19 at 11.26.29 AM.png

If no issues are found then you should use a Log action to print the value of the smart value you are using in the JQL to confirm it has the value you expect. 

Bisrat Shebeshe May 19, 2023

Hi @Trudy Claspill here is the result of the audit log.

photo_2023-05-19_21-35-30.jpg

It listed the issues found via the look up.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 19, 2023

Can you show an image of one of those issues, showing the Story Points field has a value?

Can you confirm that the Story Points field is a number field?

Bisrat Shebeshe May 19, 2023

Screenshot_20230520-091853.png

As you can see here, the story point estimate field is a numeric field and has value. All issues shown on the look up are the same, but some might not have value, does that make the overall sum zero?

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 20, 2023

The problem is that you are referencing the wrong field in the smart value. In the smart value you reference "Story Points" but the field that holds the value is "Story point estimate". Change your smart value to the correct field and you should get the expected result.

Bisrat Shebeshe May 21, 2023

Thanks a lot. I will let you know how it turns out.

0 votes
YY哥
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 24, 2023

This forge app might be your choice to get each sprint completion rate by story points.

https://marketplace.atlassian.com/apps/1229698?tab=overview&hosting=cloud

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events