Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,491
Community Members
 
Community Events
184
Community Groups

Finding issues that have an epic but the fixVersion on the epic is not set

I need to be able to find issues that have the fixVersion set to a version of "OS 3.4.0" and that also have an Epic but the Epic is not set to fixVersion "OS 3.4.0".  I tried the following but it didn't seem to work.

 

or fixVersion in ("OS 3.4.0") and type not in (Epic, Sub-task) and "Epic Link" is not EMPTY and issue in issuesParents("fixVersion not in ('OS 3.4.0')")

2 answers

I figured out a way to do it.  I also have structure and I am doing this as a query in structure.  So I used this query to find all of the epics that had issues that were scheduled for a specific release but the epic was not scheduled for that same release or was empty.  Then I used the expand feature to expand the stories under the epics.  Then I used the filter feature in structure to filter to only OS 3.4.0.  You would have to have structure and scriptrunner to do this.

issueFunction in EpicsOf("fixVersion = 'OS 3.4.0'") and type = epic and (fixVersion != "OS 3.4.0" or fixVersion is EMPTY )

Filter issues: fixVersion in ("OS 3.4.0")

0 votes
David Friedrich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 04, 2023 • edited

Hi Joe,

as you cannot achieve the desired search using standard Jira JQL I assume you are using a third party app, ie Scriptrunner?

If you are using Scriptrunner following JQL should work:

issueFunction in parentsOf ("fixVersion != <fixversion>")

I do have scriptrunner.  I am trying to find all issues that have an epic link and the issue itself has a version set but the epic is not set to the same version.  Yusing your example, I tried this but it didn't work.

 

fixVersion in ("OS 3.4.0") and "Epic Link" is not EMPTY and issueFunction in parentsOf ("fixVersion != 'OS 3.4.0'")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events