How can I reference a linked issue's information from another project in an automation

Tom Scoggin
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, 2024

I cloned an issue from one project to another. After the new project updates the issue, I want to send an email to the reporter and include the Cloned issue's key and summary.

I'm not getting an error anymore, but it only prints the "-" in the email

Email dash.PNG

See my current text for the email. 

Your original {{issuetype.name}} request, {{issue.linkedIssues("Project-key", "clones").key}}{{issue.linkedIssues("Project-key", "clones").key}} - {{issue.linkedIssues("Project-key", "clones").summary}} has been Closed. A new {{issue.fields.issuetype.name}} request, {{issue.key}} - {{issue.fields.summary}} has been opened in its place and was added to the CAB Agenda for {{issue.fields.labels}}.

The CAB is scheduled to be held every Wednesday between 11-11:30 AM. Be prepared to present your CR to the CAB members at the next meeting. If you need information about the next CAB meeting, please contact Me.

-----------------------------

I also tried {{linkedIssues("Project-key", "clones").key}}

----------------------------

Testing a Possible Solution and if it works, I will post it here.

1 answer

1 accepted

0 votes
Answer accepted
Tom Scoggin
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 16, 2024

To update/comment on/pull data from another projects issue you must added both projects to the automation "Scope". I did this and was successful in adding comments to the linked issue in another project.

The tradeoff: If you are not a Jira Admin you will lose all control over the automation rule. You will rely on the Jira Admin for testing and updates. So, what I did is pulled everything out of the automation except the one or two things I needed it to do on the other Projects ticket. This way I maintain as much control as I can.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events