Forums

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

Display comments on clone ticket

mgouirand
Contributor
July 27, 2023

Hello,

 

Can you please help me with my following automation rule ?

I have a ticket A on project A clone on Project B.

If I add a comment on the ticket clone on project B, I would like to have an automatic comment added to ticket A saying : new comment added on ticket B : ....

We have tried {{comment.last.body}} and it doesn't work as expected. Instead of adding the comment it add the comment before the one I need.

I just need the very last one only.

 

Thanks for your help,

Marine

comments.png

1 answer

1 accepted

2 votes
Answer accepted
Sayed Bares [ServiceRocket]
Community Champion
July 27, 2023

@mgouirand use triggerIssue instead because you want to copy from the original issue not from the linked issue itself. For example, your last comment body should be {{triggerIssue.comment.last.body}} 

mgouirand
Contributor
July 27, 2023

Hello @Sayed Bares [ServiceRocket] 

I have tried it and it continues to send me the last comment + previous ones.

comments trigger.png

mgouirand
Contributor
July 27, 2023

Wait yes it's working !!!!! I had another rules which duplicates the comments. Thank you very much.

Suggest an answer

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

Atlassian Community Events