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: 

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

Ajay salla
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Trudy P 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/

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

Atlassian Community Events