Forums

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

Get linked issue's last comment in Automation

Justin Hesser May 27, 2020

I want to pull the last comment from an issue and add it as a comment in a linked issue. How can I do that?

1 answer

1 accepted

1 vote
Answer accepted
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 Leaders.
May 27, 2020

Hi @Justin Hesser 

I believe you can get the last comment with the following:

{{triggerIssue.comment.last.body}}

And update the linked issue(s) as needed using related issues and a branch:

https://support.atlassian.com/jira-software-cloud/docs/work-with-related-issues/

 

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events