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

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 Leaders.
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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events