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!
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.