Forums

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

Listeners E-mail Template with Script Runner

Daniela Simões Gomes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 27, 2019

Hey guys, i think this is a simple question but i'm having trouble to resolve it.

With the Script Runner i setted an automation that an e-mail is sent when a sprint starts in some project.

The e-mail should be sent with the following informations in its body from sprint: Start date, end date, sprint goal, issues selecteds to the sprint (issue type and summary), name of the project, link to the board and link to sprint report.

I'm trying to write the e-mail template to bring that informations but none is showed:

Projetct Name: $projectname
Goal: $sprint.goal
$sprintid
Start date: $sprint.startdate
End Date: $sprint.enddate

1 answer

0 votes
Will C
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.
December 3, 2019

Happy to help, have you made a start on it yet? 

Show us what you have so far and we can all help you further with it.

Daniela Simões Gomes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 9, 2019

Capturar.JPGI'm looking for a way to write the email template to show the information to the recipients.

Will C
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.
December 10, 2019

I'm sorry my Scriptrunner looks a little different to yours and I don't get the examples.

but I think you would need to use

$event.sprint.id

$event.sprint.startdate

not sure about getting the goal but let us know if these work.

Suggest an answer

Log in or Sign up to answer