Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,079
Community Members
 
Community Events
165
Community Groups

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

Edited

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 Leader May 09, 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

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 Leader May 10, 2022

AWESOME effort 🙌

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

289 views 0 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you