I want to send an email with a list of linked issues when a new issue is created. The issue being created has a linked issues (blocks).
I've setup a simple workflow - When issue created, then send email.
In the body of the email, I'm using {{issue.issuelinks.outwardIssue.key}} to list out the linked issues. But the linked issues don't show up in the email I get after the issue is created.
I'd appreciate any pointers to how I can get this to work.
You are using the issue created trigger, so there could be a timing issue where the data is not yet available when the event occurs. (This is a known problem for automation.)
The work-around to solve this is to add a Re-fetch action immediately after your trigger and before any other rule components. This will slow down the rule and reload the issue before proceeding.
Kind regards,
Bill
Hi @Bill Sheboy
Thank you for the the response. I've tried adding the Re-fetch action immediately after my create issue created trigger and before the send email component. Unfortunately it didn't work. I've tried adding several re-fetch actions blocks and multiple email components but no luck. If I change the trigger to transition issue, it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would you please post images of your complete rule which does not work as you expect, and of the audit log showing the execution details? That may provide some context to uncover what is happening. Thanks!
Also, are you using Jira Cloud or Server/Data Center?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.