Forums

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

field should automatically show the number of comments that have been added to the ticket.

Ajay salla August 15, 2022

If i create a field Number of comments in a project . that field should automatically show the number of comments that have been added to the ticket in project. 

 

Any suggestions or possibilities on this ?

 

Thanks in Advance. 

1 answer

1 accepted

3 votes
Answer accepted
Trudy Claspill
Community Champion
August 15, 2022

Hello @Ajay salla 

You could use an Automation Rule to update such a field using the smart value to get the current count of comments on the issue:

{{issue.comments.size}}

References:

Smart values for Comments: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--issue.comments--

Interacting with smart values for lists: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events