Is there a way in native JQL (we do not have scriptrunner) to find tickets in released fixVersions, but not in archived fixVersions? It would be something like this:
project = DATA AND fixVersion in releasedVersions() AND fixVersion not in archivedVersions()
The requirement is to report on only tickets that have been released in recent and active fixVersions. We archive a fixVersion once a new fixVersion has superseded it.
Thanks
Hi @matthew_bache ,
Unfortunately, There isn't a JQL for this natively.
A ticket is raised for this:
https://jira.atlassian.com/browse/JRACLOUD-10692
The status is showing gathering interest.
Thanks,
Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How many issues are you expecting in the result set?
If it is less than 100 you may find the issues with an automation rule. You could run this rule whenever you need to know the issues, or even run it on a schedule (or other trigger). Such a rule could be:
project = myProjectName AND fixVersion IN releasedVersions() AND statusCategory = Done
The issues in released versions, not archived are:
{{#lookupIssues}}{{#if(not(fixVersions.archived))}}{{key}}{{/}}{{^last}}, {{/}}{{/}}
How this works...
Kind regards,
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
Thanks for the great solution. However, it's likely that > 100 issues would meet the criteria, so that solution won't work for us.
Kind regards
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Matt, after reading another posting I learned they have loosened the limits up a bit and so a single query/trigger can do up to 1000 issues, and the total for a rule (if that 1k referenced others) is 5000. There are other limits for processing time, but the 100 limit seems to be old info; sorry about that!
https://support.atlassian.com/cloud-automation/docs/automation-service-limits/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.