search issues with fix-versions that are (all) released

Hi

Is it possible (via some field i cant find the documentation for) to search issues that has fixversion(s) that are (all) "released" at the time of the search?
I'm on Adaptavist script runner 4.3.1 

Thx!

 

1 answer

1 accepted

1 vote
Steven Behnke Community Champion Jun 08, 2016

Native JIRA has four versions JQL functions, no ScriptRunner required. smile 

  • unreleasedVersions()

    Perform searches based on the unreleased versions (i.e. versions that your JIRA administrator has not yet released) of a specified project.

    You can also search on the unreleased versions of all projects, by omitting the project parameter.

  • releasedVersions()

    Perform searches based on the released versions (i.e. versions that your JIRA administrator has released) of a specified project.

    You can also search on the released versions of all projects, by omitting the project parameter.

  • earliestUnreleasedVersion()

    Perform searches based on the earliest unreleased version (i.e. next version that is due to be released) of a specified project.

    Note that the "earliest" is determined by the ordering assigned to the versions, not by actual Version Due Dates.

  • latestReleasedVersion()

    Perform searches based on the latest released version (i.e. the most recent version that has been released) of a specified project.

    Note that the "latest" is determined by the ordering assigned to the versions, not by actual Version Due Dates.

https://confluence.atlassian.com/jira/advanced-searching-functions-338363497.html 

So something like:

fixVersions in releasedVersions() and not fixVersions in unreleasedVersions()

should work.

Thank you!
I wanted to filter customer issues to not show supporters the issues blocked by unreleased software issues. This did the trick:

category = "Customer Projects" and issueFunction in linkedIssuesOf("fixVersion in releasedVersions() and not fixVersion in unreleasedVersions()","blocks") 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

375 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you