Forums

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

Automation that will count comment in each issues/ticket in JSM

Hermie Chiu
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!
May 5, 2025

Hi ,

 

can someone tell me if counting comments in an issue/ticket is possible by automation?

If yes, please do share the steps 

1 answer

1 vote
Tessa Tuteleers
Community Champion
May 5, 2025

Hi @Hermie Chiu , 

Welcome to the community! 
Automation has list smart values for comments, so you would be able to get the amount of comments using: 

{{issue.comments.size}}

See more info here

You can use this value in a field or something, and you can pick any trigger you want (on adding new comment, on update, manual if you only want an update on request,..) 

kr, 

Tessa

Marc - Devoteam
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.
May 5, 2025

HI @Hermie Chiu 

@Tessa Tuteleers is right. I'm just puzzled what will this number provide?

It just will tell the issue has 7 comments, I can read the comments as well an see th! there are that many comments.

Just curious!

Suggest an answer

Log in or Sign up to answer