I'm currently trying to automate a small task for our reporting where we need to know the number of tickets which are not in the status of "closed" at month end each month. Using the automation I feel like I'm close but doing something wrong as no value is output.
Also, just to let you know, that the JQL returns the value I want when test it but the output via email does not, where {{LookupIssues.size}} variable value is expected the email is blank.
Hi @David Wood
Smart values are case-sensitive, so perhaps try
{{lookupIssues.size|0}}
Please note that I added null handling so this will always return a number.
Best regards,
Bill
Hi @Bill Sheboy
Thanks a lot for your reply, it has helped as the rule now outputs a number; although, I think the limitations of max 100 rows returned from a JQL query is now giving me trouble.
We have a fairly large number of tickets we are working with and wanted to ask if you knew of any alternative way that it would be possible to handle retrieving this count.
Best Regards,
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Dave.
Short answer is: no. JQL is throttled to return up to 100 issues, and even the REST API requires calling in chunks to get more issues.
Possible work-arounds are:
Sorry I could not be of more help on this one.
__Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy
Thank you again for all the information, its been really helpful and although Jira has some limitations you've explained everything and given the best answers I could ask for - much appreciated!
Thanks,
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.