The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
The company which I am working with have organised epics in the following way:
Issue is the Epic
Epic contains tasks per decipline such as UX, UI and Content which hold subtasks of the work pending, doing and done.
Once these tasks have all their subtasks done there is a task in the epic to assess the work prior to passing to development.
To show via a filter all Assessment tasks from epics which contain UX, UI and Content tasks where their subtasks are all in the status done requires a task peer query which I just cannot seem to get my head around.
In SQL it would be something like:
select * tasks with description = "Assessment" and (status = todo) IN the Epics IN this Project where the Epic tasks description = "UX", description = "UI" and description ="Content" (status = doing) contain all subtasks with (status = done)
Hi @Christopher Barklem -- Welcome to the Atlassian Community!
JQL is not a SQL, and cannot perform many native functions such as nested queries, joins, etc.
Some work-arounds for your need depend upon how often you need this:
Kind regards,
Bill
Hi Bill,
Thanks for the information. I was wondering if it was possible to create saved filters and use them in JQL which might resolve some of the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nope...
If JQL was a SQL you would be correct, but it cannot perform nested queries out of the box and so you cannot JOIN together the results of different queries. The closest you get is AND or OR of the different result sets.
filter=12345 AND filter=67890
Again if you need this functionality often, the marketplace is the way to go for nested queries and JOINs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.