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
so you have more than 1 parent issue type, right?
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.
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