Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation - Send email (with sprint scope) after sprint is complete

Pedro Webster March 23, 2022

Hi, 

I'd like to create a automation to send email (single email) with the sprint scope (issues completed, not completed, etc) to certain users.

I have visited the topic bellow but still coudn't do it.
https://community.atlassian.com/t5/Jira-Software-questions/How-can-I-use-Automation-to-communicate-the-Sprint-scope/qaq-p/1331103

I have two problems:
> I need to send a single email (the automation is sending a email for each issue in the sprint).
> I need to make an email body with the sprint issues.

Help, pleasee!!

1 answer

1 accepted

1 vote
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.
March 23, 2022

Hello @Pedro Webster ,

Welcome to the community.

I found several posts on sending a single email with a list of issues via Automation. Perhaps one of those would help.

The answer from @Bill Sheboy  in this post seems like it might be useful in your situation.

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 23, 2022

Hi @Pedro Webster -- Welcome to the Atlassian Community!

Adding to Trudy's answer, the key helper for your use case is the Lookup Issues action to gather issues for one email: https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Lookup-issues

Kind regards,
Bill

Like • Stefan Salzl likes this
Pedro Webster March 23, 2022 edited

Hello, @Trudy Claspill and @Bill Sheboy 

Thanks so much for the answers !! 

The challenge now is making a JQL that shows issues of my previous sprint.

The JQL query "project = myproject AND Sprint in openSprints()" doen'st work because my trigger is When: Sprint completed, so it returns blank =(

Any tips? tks again!

rule.jpg

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.
March 23, 2022
Pedro Webster March 23, 2022

The email is blank =(
rule2.png


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.
March 23, 2022

You might need to add quotes around the smart value in the JQL.

sprint = '{{sprint}}'

You can also try using a Log action to confirm that the smart value  {{ sprint }} has the value you would expect from the closed sprint.

https://support.atlassian.com/cloud-automation/docs/debug-an-automation-rule/

Pedro Webster March 23, 2022

It works!

Tk you so much! <3

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events