How can I filter on parent item type?
In our system we have DEV sub-tasks under Support Tickets and DEV sub-tasks under stories.
So I want to write the following:
WHERE ParentType IN ("Support Ticket")
but I don't think I can.
Or can I?
Hi Wayne, sadly this cannoy be achieved using native functionality. You need to go for a third-party instead. Using i.e. JQL Booster Pack you can type the following:
Search for subtasks created under Stories or Support Tickets:
issue IN subtasksOf("type IN (Story, 'Support Tickets')")
Search for Support Tickets with Subtasks
type = "Support Tickets" AND issue IN hasSubtasks()
Serch for closed subtasks created under 'In Progress' Stories:
status = Closed AND issue IN subtasksOf("type = Story AND status = 'In Progress'")
Serch for Stories or Support Tickets with unresolved subtasks:
type IN (Story, "Support Ticket") AND issue IN parentsOf("resolution IS EMPTY")
Don't hesitate to ask for help if you need to create complex queries,
You can achieve this using third party plugins like scriptrunner or JQL Search Extensions for Jira & reports.
I am using JQL Search Extensions for Jira & reports. and following query can help you
issue in subtaskOf(
"issueType = 'Support Ticket'"
When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...
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