Forums

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

Add custom comment in trigger issue with link to the newly created issue

Simon Wong
Contributor
August 28, 2019

I've used the Automation plugin to create a Problem ticket with an Incident is closed and automatically linking them. 

 

I'd also like to add a custom comment to the trigger issue (Incident) link a link to the newly created issue (Problem).  Something along the line of:

"Problem record {{Link to New Issue}} was created and linked to this Incident.  Please complete the root cause analysis in that ticket. "

Can this be done?   Thanks. 

1 answer

1 accepted

0 votes
Answer accepted
John McKiernan
Atlassian Partner
August 28, 2019

Hi Simon,

John from Automation for Jira here. If I understand correctly, then yes this can definitely be done. 

You will need just three building blocks:

  • Trigger: When issue transitioned to 'closed'
  • Action: Create Issue (add linked issues)
  • Action: Comment on issue

*In the comment, the smart value you want to use is {{createdIssue.key}}

This should work for you but let me know if you have any other questions!

Cheers

John 

 

Screenshot at Aug 29 16-10-15.png

Simon Wong
Contributor
August 29, 2019

Thanks John!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events