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,297,587
Community Members
 
Community Events
165
Community Groups

JQL: Pull in issues dynamically

I need some help refining the JQL I have which pulls certain issues into advanced roadmaps. 

[Datamart v4] Issue navigator - JIRA 2022-05-16 10-14-16(1).png

1. pull in all epics that have a specific parent initiative (this works ok)

2. (the problematic part). I need to pull in all issues that have specific parent epics. 

 

The problem with item #2 is that as new epics are being added, the issues contained within the newly  epics are not showing because this part of the query is not dynamic. 

 

Is there a better way I can structure the JQL that can dynamically pull in issues that are in newly added epics that are not hard coded in the jql.

 

Some other ways I can do this would be pulling in all issues that have a specific component, but I'd rather not rely on manually adding the component in order for it to appear in the jql results. 

 

1 answer

1 accepted

0 votes
Answer accepted

Hi @Jeffrey Bistrong 

I do not believe that is possible with out-of-the-box JQL features, as you would need the ability to nest queries to find any new epics: "Epic Link" IN (some other JQL result set)

You note one possible work-around, which is to mark all relevant issues somehow (e.g. label, component, custom field, etc.)

Another is to purchase a marketplace addons which enhances JQL features to support such nested queries.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,759 views 37 47
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you