Forums

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

Adding a Comment using Smart Values

Bellina Bui December 15, 2022 edited

Overview

Hello Atlassian Community! 

For the past few hours I've been trying to figure out a way to copy a trigger comment over to a newly created issue type using Jira Automation.

I've had luck testing the audit log value of {{triggerIssue.comment.body}}.

However, in terms of copying over the actual comment from the original issue to the NEWLY created issue no luck. 

Automation Rule 

Screen Shot 2022-12-16 at 8.46.07 AM.png

Trigger: Manual Trigger 

Condition: Project = X 

Action: Create a Task in Same Project

.....

Problem

{
"update": {
"Comment": [
{
"add": "{{triggerIssue.comment.body}}"
}
]
}
}

The code block above is is not working. 

I'd like the newly created issue to contain the old comments from the trigger issue. 

 

Any help is appreciated thank you so much!

1 answer

0 votes
Gokaraju gopi
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.
December 15, 2022

@Bellina Bui 

Your requirement is not clear. A screenshot of your automation rule can help to improve it

Bellina Bui December 16, 2022

@Gokaraju gopi here you go :) 

Screen Shot 2022-12-16 at 8.46.07 AM.png

JITU GAMER
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 11, 2025

HELLO 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events