Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you might find the site temporarily inaccessible. Thanks for your patience. Read more.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to add a comment to a cloned issue via automation

Philip Ng February 21, 2025

I am trying to setup an automation where it clones an issue into a different project. Then add a comment to the cloned issue. I can clone the issue, but it will not add the comment. I looked at the audit log and it is not even triggering the component to add a comment. Am I using the wrong branch trigger?

2025-02-22_0-15-09.png

2 answers

2 accepted

4 votes
Answer accepted
Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2025

Hi @Philip Ng
 image.png

I tried this at my end and the above automation worked for me.

Note that mine is a Global rule and not a Single Project restricted rule, which make it possible for the automation to execute across projects.

Also, I've added the re-fetch action after the Create Clone, so that the automation gets updated with the new cloned issue's info as well.

Will suggest adding "Log Action" along the way if you're to verify the action taking place on which issue.

Hope this helps.

Philip Ng February 22, 2025

That was it. Thanks.

Like John Funk likes this
1 vote
Answer accepted
Evgenii
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2025

Hi, @Philip Ng 

Welcome to Atlassian Community!

You have a working rule. But there is one small problem - if your rule is limited to work only with one project, it won't make any changes in other projects.

Check in "Rule Details" that scope is set to Multiple projects, that include target project, where issue is created.

Philip Ng February 22, 2025

Thanks. I always forget to make sure it's a global automation

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer