Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

JQL query that only includes results with a certain sub-task issuetype


I need to include in the results of this JQL only sub-tasks for parent 'Service Request' that are of issuetype 'Build and Test' (so exclude all others for that parent issuetype). I've tried everything but I can't seem to figure it out. HELP! 

project = "XXXXX" AND status != Closed AND (issuetype = Incident AND "Cascading Select List 1" is EMPTY OR issuetype = Problem OR issuetype = "Service Request" AND "Activity Type for Service Request" in ("XX XX", "XX XX", "XX XX", "XX XX") OR issuetype = Enhancement AND "Activity Type for Enhancement" in ("XX XX", "XX XX") OR issueFunction in subtasksOf("issuetype = \"Service Request\" AND \"Activity Type for Service Request\" in (\"XX XX\", \"XX XX\", \"XX XX\", \"XX XX\") OR issuetype = Enhancement AND \"Activity Type for Enhancement\" in (\"XX XX\", \"XX XX\")")) AND "External Ticket ID" is EMPTY

Thank you!

1 answer

so you have more than 1 parent issue type, right?

then you could try this one

or, as workaround

use automation or some other addon an copy the parent issue type into a new custom field in the subtask. Then you have JQL subtask issue type + CF.

Thank you Alexander! 🙃

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

☕️ Monday coffee with Jexo: Weekly Atlassian news roundup | 21st June 2021

Hi community 👋, as every Monday we're bringing you a quick update on what happened in the Atlassian ecosystem last week. There were a few interesting events like for example the announcement of th...

51 views 0 6
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