I'm trying to either copy the comments of the trigger issue in automation to the problem I created or add a comment after it was created in the same automation.
I tried to add a branch rule for the most recently created issue in the same if statement, or at the end of the automation (from reading about it it seems like a scope / parallel execution issue), but both didn't work.
would appreciate your advice on the matter.
you can see the automation here (in the example you see linked issues as I tried that as well).
Hi Guy - Welcome to the Atlassian Community!
Create your Branch under the Issue Create action - you have it too far out and related to the trigger. Make the Branch Most Recently Created Issue like you had it. Then put the Add comment under there.
Hi John, thank you for your reply!
I have already done that as you can see below, but unfortunately, the result is the same.
Guy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And what is the result? Can you share the Audit Log? Does it run and just does provide a comment? Are you adding a new Comment from scratch? Or copying from the trigger issue? And if copying, which comment?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Guy Yehezkel
You need to ensure that your automation is set for the global project or multiple projects if your new ticket is on the other project.
and try with this one
{{#triggerIssue.comments}} Comment by: {{author.displayName}} at: {{created}} {{body}} {{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks, I changed the scope of the automation to global and added the smart values text as you provided above and it works like a charm, thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.