Forums

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

Weekly email reporting the status of related tasks.

Nikolaos Vlachos
Contributor
March 22, 2023

Hello Everyone, 

 

I am looking to create an automation that will automatically send an email every week with the status of the related task for each story. I am having some issues trying to find a way to display the related tasks for each story and the status both for the story and the task. So far I have managed to reach the point that I can report the Issue Key for the story and the Summary but not able to add the related tasks. 

 

I am attaching what I have so far. Any help will be appreciated.

 

Automation1.JPGAutomation2.JPGAutomation3.JPG.png

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Magdalena Zhisheva
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 22, 2023

Hi @Nikolaos Vlachos ,

For status you can try to use {{issue.status.name}}

For linked issues may be this one: {{issue.issuelinks.outwardIssue.key}} 

Hope it helps!

Nikolaos Vlachos
Contributor
March 22, 2023

Hi @Magdalena Zhisheva ,

 

I added your suggestion to the content section and it doesn't display anything unfortunately. Is there anything I need to do with the lookup first? 

Magdalena Zhisheva
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 22, 2023

Hi @Nikolaos Vlachos , 

I just tested on my side and it's working without any lookup.

In the trigger you need to put a specify via JQL for which issues you need to have a list with their linked issues , i.e.

"project = XXX and issuetype = Story"

In send email action I used this and got email for each ticket part of the JQL:

"Issue Key: {{issue.key}}
URL: {{issue.url}}
Status: {{issue.status.name}}
Linked issues: {{issue.issuelinks.outwardIssue.key}} {{issue.issuelinks.inwardIssue.key}} 

Hope it helps!

Nikolaos Vlachos
Contributor
March 22, 2023

Hi @Magdalena Zhisheva 

 

It almost works. Now I am getting the linked issues and the status of the story. But not in one email I got 67 emails :) .

Is there also a way to display the status of the linked issues?

 

Thank you for your help 

Magdalena Zhisheva
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, 2023

Hi @Nikolaos Vlachos ,

To achieve that DO NOT use the check the JQL search in the trigger.

Then Add the lookup action, where you can put the search, i.e. 

"project = XXX and issuetype = Story"

In the email action use this:
"List of issues:

{{#lookupIssues}}
<a> Issue Key: {{key}} </a>
URL: {{url}}
Status: {{status.name}}
Linked issues: {{issuelinks.outwardIssue.key}} - {{issuelinks.outwardIssue.status.name}}
{{issuelinks.inwardIssue.key}} - {{issuelinks.inwardIssue.status.name}}
{{/}}

Like # people like this
Nikolaos Vlachos
Contributor
March 23, 2023

Thank you very much @Magdalena Zhisheva  that worked. I just need to fix how it displays them. 

 

Thank you again. 

Magdalena Zhisheva
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, 2023

Hi @Nikolaos Vlachos ,

Glad it worked :) 

Simitt August 20, 2024

How do I show Child Story(ies) for a Feature (Key)?

Suggest an answer

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

Atlassian Community Events