The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Count how many people commented on ticket

tasha tokunova
January 13, 2022

I want to calculate how many people commented on the ticket via the automation rule. 

I assume you need to create a new field, set the default 0 value, and then somehow add +1 on every new person who commented on the ticket. 

Does anyone try to implement something like that?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Marco Brundel
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 Champions.
January 13, 2022

Hi @tasha tokunova ,

I think it is possible with a number custom field and a automation rule.

On https://support.atlassian.com/cloud-automation/docs/what-are-smart-values/

and
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/

I see that you can use math-functions.

I think something like
{{#=}}{{issue.CustomField}} + 1{{/}}


Regards,
Marco

tasha tokunova
January 14, 2022

Unfortunately, the trick is it's not a CustomField. There should be some logic to extract the email of who commented on the ticket.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events