Add automation - copy cloned story's comment into story it's cloned from

Deleted user February 2, 2023

I want to create an automation where

- there is a service ticket and a story that's cloned off of it

- when a comment is added to the story

- I want it copied

- to the original service ticket.

 

Is that possible?

1 answer

1 accepted

0 votes
Answer accepted
Vamsi Kandala
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.
February 2, 2023

Hi @[deleted]

You can create the automation rule as follows:

Select the 'Issue commented' as the trigger

Select the 'Branch rule / related issues' component

Select 'Linked issues' for 'Type of related issues'

Select 'clones' for 'Link types'

Select 'New action' under the above branch and click on 'Comment on issue'

In the body of the 'Comment' field, type in {{triggerIssue.comments.last.body}}

Save the changes and test it out.

Hope this helps.

Enclosed the screenshot for your reference.

Thanks,
Vamsi

Comments.png

Deleted user February 3, 2023

@Vamsi Kandala This is awesome, thank you!! Is there a way to add who wrote the comment?

Deleted user February 3, 2023

Never mind I figured it out! Thank you again!

Suggest an answer

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

Atlassian Community Events