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

Edit smart value comment in automation

Jan Friedmann
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!
January 22, 2025 edited

Hi, 

in my automation, I loop through the comments of an issue using the smart value {{issue.comments.distinct}}. I want to edit the current comment. What do I put into Comment smart value*? When I put {{comment.id}}, as suggested, I get an error:

 

Error editing comment - smart-value did not resolve into a number.

image.png

1 answer

1 accepted

3 votes
Answer accepted
Kai Krause
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.
January 22, 2025

Hi,

i think in ur case 

 

{{currentComment.id}} do the trick. 

BR

Kai 

 

Jan Friedmann
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!
January 23, 2025

Thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events