Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

In an Automation, how can I get the count of tickets that match a JQL query?

I'm trying to build an automation that will get counts of tickets in various statuses and publish that information out into another tool. But in the automation workflow, it looks like a scheduled event that has a query sends each item that meets the criteria through one at a time.

Is there a way to accumulate these values in a later step, or a different way to meet my particular need?

1 answer

0 votes

Hello @Thomas.Keschl ,

I reached out to the Automation devs and they noted that this is currently not possible with automation and you would need the "Send a digest" functionality described in the following feature to be implemented to get this result using automation for Jira:

An alternative approach would be to use the API instead via a "Search for issues using JQL (GET)" and the value will return a "Total" variable letting you know the number of issues found by the JQL that could be passed into your external application on a scripted function.

Check out the API Developer documentation for some getting started info if you wanna go this route:


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

296 views 16 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you