Forums

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

How to copy a comment from a child ticket to a parent in another project - automation

Jordan Brown
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2022

Hi,

 

I'm trying to use JIRA automation to copy a comment from a child ticket to it's parent within another project based on the reporter of the child ticket being tagged in the trigger comment.

the audit log is stating there is an issue in the advanced compare condition although I have tried using a variety of ways of phrasing the {{reporter}} reference and don't seem to be getting anywhere with it.

Any help would be much appreciated.

 

EDIT *(tagged service desk as the parent issues are based within a service desk project)

Comment Copy Automation.png

1 answer

1 accepted

2 votes
Answer accepted
Stefan Salzl
Community Champion
May 9, 2022

Hi @Jordan Brown 

do I get you right:
The condition would be that the reporter of the issue was tagged in the comment?

If so check for {{issue.reporter.accountId}} --> tagging in comments is done via accountID of the user. (see documentation here)

Hope I got your requirement right. Please let me know if this was helpful.

Best
Stefan

Jordan Brown
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 10, 2022

Hi @Stefan Salzl 

 

You are correct, after a bit more playing around I found that using regex as the comparison condition and {{reporter}} seems to give the result I was looking for as well.

 

Thanks for your help :)

 

Comment Fixed.png

Like Stefan Salzl likes this
Stefan Salzl
Community Champion
May 10, 2022

AWESOME effort 🙌

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events