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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Nested JQL Queries


Is it possible to write nested JQL queries without using any third party plugin?



output1 = selectedIssues(JQL);

for (o in output1){

     output2 = selectedIssues(JQL2 + o.user)

   result + = output2


Output of the first JQL will be used an input for the second JQL.

2 answers

1 accepted

2 votes
Answer accepted

Hi Shyam,

Depending of your use case you can simply benefit from the AND native operator to retrieve the desired data. For some other cases you must go for a third-party app instead. Using i.e. JQL Booster Pack you can passes a subquery to a bunch of the methods, for example:




Hope this information helps you to create awesome queries <3

Kind regards

Hi Shyam,

Nested JQL is not supported out of the box in Jira.

An alternative to using an app like JQL Search Extensions that support subqueries, is to manually create the results:

  1. search for for tickets that satisfy the first JQL
  2. export to Excel and copy the users
  3. create a second JQL query with the users from the step 2.


Even with additional apps your use case might be hard to satisfy. Can you explain a bit more what is your exact use case and what business requirement does it need to satisfy?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Atlassian Cloud Migration

⭐️ Star in a Migrations Marketing Video! ⭐️

Hi all! Our Migrations Marketing team is looking for customers who have migrated over 1,000 users to Atlassian Cloud (Jira Software, Confluence, Jira Service Management, or Bitbucket) to be feature...

249 views 0 11
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