Forums

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

Automation: Trigger on comment and get details from linked issue(s)

Thomas
Contributor
September 21, 2021

Hi all,

I'm trying to build a trigger that reacts to a certain comment and then loops through all issues linked with "blocked by".

So far no problem.

However, I would then add a comment (or edit the trigger comment) with some information from the linked ticket, e.g. status, fix version etc.

Capture.PNG

"Trigger comment" will give me an error:
No comment with given ID found for issue <linked_issue>.

Not sure why this would even look for the ID in the linked ticket?

I tried smartvalue {{comment.id}} but this seems to look for the ID in the linked ticket, not origin one, hence it wont find a comment to edit.

Any idea how to make this work?

1 answer

1 vote
Carlos Faddul
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2021

@Thomas do you are using an automation in single project or multiprojects/global ?

Normally, linkedissues we are using with multiple projects/global to get the correctly link.

Thomas
Contributor
October 17, 2021

Hi @Carlos Faddulyes, this is a multi project/global automation.

Thomas
Contributor
November 9, 2021

@Carlos Faddulany further ideas on this one? I had no luck so far :)

Carlos Faddul
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2021

Hello @Thomas 

Sorry for the delay, I was a little away from computers.

But since it's a global/multi-project automation

  1. Trigger - Issue commented
  2. Action - Create a variable (store the desired commented value)
  3. Branch issues - will use linked issues on blocked (like you already did)
  4. Add the comment with the value of the variable created in the step 2.

I believe it would be a similar solution to what you would want.

Thomas
Contributor
November 10, 2021

Thanks and no problem! I will give that a go!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events