All I want is the number of issues found on a JQL when using automation for jira. something like we can get when using lookupIssues for example {{lookupIssues.size}}.
I don't want use lookupIssues because it only works for 100 issues.
If you want to know the number of issues in a JQL using automation, you can use the validate link and it will tell you the number of issues found using the JQL.
Hopefully this way you can check the amount of issues as you expected.
Regards,
David
Hi David. I want to use this number somewhere else on the automation.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, I see, I checked Automation docs and coudln't find an equivalent to {{issues.size}} in Jira Server/Data center (https://confluence.atlassian.com/automation/jira-smart-values-issues-993924860.html).
I even tried it on Jira cloud but it always returns 1, even if the JQL has more issues as result.
As it is not in the documentation, I don't think is possible to get the total issues from a JQL in scheduled job trigger.
Regards,
David
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.