Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL Help - List of Epics, that have issues in a specific fixVersion (or any query)

John D
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2022

Here is my situation...   

Looking to find a way to obtain a list of epics, which have issues tied to a certain fixVerion. 

I have a series of "fixVersions" that represent our maintenance patches...
...   3.4.1 , 3.4.2, 3.4.3...  etc...

So to find all the jiras in any of those patches, I have this query.
fixVersion not in ("3.4.0 - Release") AND fixVersion ~ "3.4*"

This gives me any Jira item that is in a patch release, but NOT in the main release. 

I would like to find a list of all EPICs, that have at least one issue in that patch release.  Without having to tie every epic from the 3.4.0 release, into every patch release, or remember to tie an epic to a spec patch release.

I am basically trying to find a way to make the epic list for a Board, self mananging... if you add an issue to fixVersion, and that fixVersion is on my board... add the epic too!
(this helps keep the epic fixVersion clutter free, and avoid misses when someone forgets to tag both the epic and issue.

I've been through searching the forumns, and have not found anything that does the trick.  But that could be I have writes block"

MAybe more simply stated....   Give me a list of JIras that match a query (fixVersion) and their epics. (where there epics may not match the query)

Plug Ins We have:
- Script Runner

JIRA MISC WORKFLOW EXTENSIONS


Version v8.15.0#815001

 

1 answer

1 vote
Rudi Wagner April 4, 2022

Should be something like:
issueFunction in epicsOf("fixVersion not in ('3.4.0 - Release') AND fixVersion ~ '3.4*'") see https://docs.adaptavist.com/sr4js/6.44.0/features/jql-functions/included-jql-functions/issue-links#epicsOf 

John M Dubil May 21, 2022

Perfect! Thanks so much....

Suggest an answer

Log in or Sign up to answer