Forums

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

Retrieve informations of linked Issue in automation

Steeve P_
Contributor
December 18, 2025

Hi everyone , 

As admin, i'm in charge of finding to make everything work smoothly , on each of ours space.

One existing automation , is to create a linked Issue (A) , and on the created one (B) add a comment (Comment is the "A"last one) + Showing Actual SLA inside the comment in "B"

Would basically look like

Issue A --> Transition trigger automation --> Create Issue B --> Copy last comment of A to B + SLA

We had huge problem with the SLA part as most of the time SLA is still not calculated by the time the automation finish.

Did few search and make it more reliable by triggering a second automation when the first one have created the second Issue
Second Automation will be in charge to check if value exist , of not to loop on itself wait 10 sec , fetch and then add comment.

For the SLA Part...Seems for reliable than having it inside first automation.
But for the comment part... I can't retrieve thoses information from the linked issue.

I thought of putting the loop inside the first automation, but as the creation of the issue "B" is already behind an IF/Else , and branching, I can't recreate one on that level :/

So ...I'm looking for idea and Advice. ;-)

Capture d'écran 2025-12-18 120537.pngCapture d'écran 2025-12-18 120552.png

 

2 answers

0 votes
Bill Sheboy
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 Champions.
December 18, 2025

Hi @Steeve P_ 

Based upon the rule images you show, and without seeing the specifics of the Edit Work Item actions and audit log, I wonder...

  • When the new / linked work item is created, why not set all those fields at the same time during the create action?
  • When adding the comment (after branching to the most recently created work item, you could get the last comment from the trigger one with {{triggerIssue.comments.last.body}}

 

Kind regards,
Bill

0 votes
Steeve P_
Contributor
December 18, 2025

Edit : don't know what I did but posted the screenshot as an answer...Sorry

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events