How to construct compound / multipart JQL Query?

A user wants a report that is based on multiple queries:

 

        A = JIRA ticket count with Condition A

 

        B = JIRA ticket count with Condition B

 

        C = JIRA ticket count with Condition C

 

        print A / (A+B)

 

        print B / (B+C)

There's probably an obvious way to do this using scriptrunner or maybe even with a filter, but all documentation and examples I found were for much simpler cases.

 

Any suggestions on what I should read/look up to figure out an approach to this?

 

Thanks!

1 answer

This widget could not be displayed.

I do not know the obvious way but I think you can do it via JIRA REST API search method:

https://docs.atlassian.com/jira/REST/latest/#d2e2450

For A, B and C use "total" property.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

528 views 23 15
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you