Forums

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

Count Comments and Issue History for Jira Issues using Automation

Summary

It may be good to see how many comments or updates are made to Jira Issues from an analytics perspective to see if you have many long-running tickets, quick-solve cases - or - high/low activity on cases. But how can this be tracked?

You can do this using a custom field of your choice, such as a Paragraph field, with Automation for Jira. 

How will this work?

  • First you will need to setup the custom field you choose which will populate the count values for comments and Issue History Updates. Please note approver activity is logged to the Issue Activity as well. All Issue Activity of any sort, besides comments, is logged to the change log.
  • Second you will need to configure the Automation Rule, which will use a Multiple issue events trigger
  • Then you will use a send web request GET API call to the Change Log REST API Endpoint. This will use a URL similar to the following: 
  • Lastly, you will edit that custom field to have those counts filled in! For my example below it is using the Description field with the following smart values/text:
    • Issue History Count: {{webResponse.body.total}} Issue Comment Count: {{issue.comments.size}}

Supporting Screenshots

Screenshot 2023-08-10 at 4.52.53 PM.png Screenshot 2023-08-10 at 4.53.42 PM.png Screenshot 2023-08-10 at 4.54.02 PM.png

Please note that if you want to trigger the value to update on Issues being commented you will want to use another/separate rule with the Issue Commented Trigger, then Edit Issue Field, which would use the {{issue.comments.size}} smart value to set the Comment Count on that particular field.

Relevant Docs

0 comments

Comment

Log in or Sign up to comment
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events