This question is in reference to Atlassian Documentation: Advanced searching - fields reference
Hi.
I would like to find oaal of issues in the Released state, that have a fix version greater thean previous released version.
There are many versions only some are released in this scenario.
Hi Krys,
As I understand it the key challenge here appears to be getting the version before the latestReleasedVersion() - lets call it previousReleasedVersion(). This isn't possible to do with JQL.
I'm not 100% clear on the context of your usage.
In order to recommend a solution, it would be good to know how many people need to run this query? How often?
Something that comes to mind is:
Using something like TamperMonkey to write a browser script that determines the previousReleasedVersion() and runs a JQL search for you automatically. The API call to use would be GET /rest/api/2/project/{projectIdOrKey}/versions. Then, using a tampermonkey script, you just need to insert the JQL text into the query field in JIRA and, still using the tampermonkey script, click the search button in JIRA.
You can create a filter on the project you are working with Release state and also select the version you want.
It will be something like project = YOURPROJECT AND issuetype in (standardIssueTypes(), subTaskIssueTypes()) AND Version ~ 10.2 AND (releasedVersions()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
His Question is something different from your answer, he wants all issues with version greater than previous released version
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mihai,
Thanks, not sure it would work I have scenario:
released version 6
version 5
version 4
released version 3
version 2
version 1
I want only the issues from versions 4-5 or 4-6 , either would do.
This is to be a repeated operation I don't want to have to use a specific date so the "since" functions would not work. Because or repeated pattern using the
unreleasedVersions() or
earliestUnreleasedVersion()
latestReleasedVersion()
would not work and I am a bit stuck.
Krys - Her - ;).
Thanks
Krys
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.