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.
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!
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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}}
{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much @Magdalena Zhisheva that worked. I just need to fix how it displays them.
Thank you again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nikolaos Vlachos ,
Glad it worked :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.