Forums

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

How to copy comments from multiple tickets to a parent ticket field ?

Markova Ivana April 14, 2025

Hello everyone,

 

In JIRA Automation I have a rule about copying a new comment from an issue (A) to a designated parent issue's field (B).

Capture1.PNG

It works fine, but when 2 (or more) commented issues have the same parent, I only see 1 of the comments (from the issue commented most recently).


I want to append/concatenate comments from multiples issues that have the same parent and display them in the designated field.

Can someone help me?

Thanks

1 answer

0 votes
John Funk
Community Champion
April 14, 2025

Hi Markova - Welcome to the Atlassian Community!

Your rule fires when a comment is added to an issue. Therefore it will copy only that comment up because that is the one that triggered the rule execution. The same will happen for the other children when Comments are added on them. 

Your questions how to copy the comments from other children. Why would you want to do that? For one, the comments would already be there because the rule would have fired for those children earlier when a comment was added. And two, how would it know what comments to copy from the other children? 

Markova Ivana April 15, 2025

Hi, thanks for taking the time to respond and for your helpful question :)

 

In fact in Confluence I display the parent ticket (=1 functional perimeter in our team) with the field containing the comment.

 

I want to dynamically report on different subjects (children tickets) within this parent.

So each time a new report (comment) is added to a ticket, I want the comment to be added to the list of comments within this perimeter, so to papend comments.

 

Maybe not use "last" in {{triggerIssue.comment.last.body}}, as it takes the last one ? So the last commented issue within the parent ?

Markova Ivana April 15, 2025

*for informaiton, our members put a comment once a week as a report on different tickets (subjects).

Markova Ivana April 15, 2025

Maybe use a smartvalue to dynamically capture and "refresh" the list of all comments within this field ?

John Funk
Community Champion
April 15, 2025

I think what I would do is create it as a Manual trigger and have your team members execute the trigger on the comments they want to, which would copy up to the parent issue into the desired Field, adding to the values already there. 

Suggest an answer

Log in or Sign up to answer