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,294,645
Community Members
 
Community Events
165
Community Groups

Fancy Footwork and Nested Selects in JQL

Hi Everyone - 

I've got a project called my_epics that has all my epics.  And, I've got a query that returns all the epics I'm interested in

(project = my_epics and Size is "Large" and Labels = "Cool_Epics")

Now I'd like a query to return the children of those epics.  In my day we would have called this a nested select

Issuetype = Story and epic_link in ( select (project = my_epics and Size is "Large" and Labels = "Cool_Epics")) 

Is this possible to create in JQL?

Thanks,

Ravi

1 answer

1 accepted

0 votes
Answer accepted
Suvarna Gaikwad Community Leader Apr 05, 2022

hi @RAVI AMBAR RAO 

If you have a scriptrunner, it can be achieved with below query

issueFunction in issuesInEpics("project = my_epics and Size is 'Large' and Labels = 'Cool_Epics'")

Hope this helps!

Thanks @Suvarna Gaikwad ! 

 

I'm almost afraid to ask because I think know the answer.  Script runner costs money.  Is there a way to do this in JIRA without purchasing any add ins?

Suvarna Gaikwad Community Leader Apr 13, 2022

@RAVI AMBAR RAO I am afraid I have not seen nested jql queries that are available out of the box. we will have to use plugins like scriptrunner or jql booster pack

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

268 views 0 6
Join discussion

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