Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

{{issue.issuelinks.outwardIssue.key}} not working during issue create

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.

1 answer

Hi @Rajendra Borde 

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.

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?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

533 views 1 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you