Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a jql for subtasks

Emily Torres September 21, 2021

I am trying to create a quick filter on issue type - subtaks, but I get back no results? I've tried many ways to write the jql, with no luck.  please help

2 answers

0 votes
Jack Brickey
Community Champion
September 21, 2021

Hi Emily,

Can you share the Jakie well that you're currently using?

On the surface it should be very easy to form a JQL to return only subtasks but I expect there's more to your inquiry. As an example the below would return all subtasks for a given project.

Project = ABC and type = subtask

Replace ABC with your project and replace subtask with your exact subtask issue type

Emily Torres September 21, 2021

issuetype in subTaskIssueTypes() and I'm getting nothing?

Jack Brickey
Community Champion
September 21, 2021

Can I ask where you’re entering this JQL? Can you please try inserting the exact JQL into the advanced search?

FFEAB73D-B70A-46F8-B4C7-AD9B32CD78DF.jpeg

Jack Brickey
Community Champion
September 21, 2021

I have been successful using that same JQL in multiple locations. Is it remotely possible that you don’t have any subtasks? If in fact you know that you do and you’re still getting nothing then I would advise you to contact Atlassian support directly so they can login and look at what’s going on.

Jack Brickey
Community Champion
September 21, 2021

@Emily Torres , I see that you've accepted our answers on this page. Does that mean you have gotten this to work now? If so please advise what you found. This will benefit future members searching for a similar question.

Emily Torres September 22, 2021

No, I'm still trying to figure it out;

I'm creating the query as a quick filter on the backlog page; I know we have subtasks, but those have been omitted from the project view so I do not see them in the backlog page or scrum board page; but would like a Quick filter for those sub tasks, which do not appear when I try these three queries:

issuetype in subTaskIssueTypes() or

issue-type = Sub-task AND Summary ~ UX OR

issue-type = Sub-task AND assignee in

Jack Brickey
Community Champion
September 22, 2021

Hang on a second. You mention “but those have been omitted from the project view”. Are you saying that the sub tasks are not included in the kanban board configuration? Do you find subtasks on your kanban board normally? Your quick filter will never display subtests if the underlying board filter excludes them. This may be obvious but I do want to check.

Emily Torres September 22, 2021

That's the answer; yes those subtasks are omitted; as it clutters the backlog view and the active sprint board.....I purposed exclude the subtasks from my view; but wanted to create a quick filter for them....my work around is creating a filter for them which I have and that works for me....thank you.

0 votes
KAGITHALA BABU ANVESH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 21, 2021

Hello @Emily Torres ,

 

if you want to get all the results of all sub-task issue type categopries-- > issuetype in subTaskIssueTypes()

To get all sub-tasks --> issuetype = Sub-task

 

Thanks,

Anvesh

Emily Torres September 21, 2021

I've tried that with no results; I'm trying to get all the UX tasks or even by the UX designer, but nothing returns results. 

 

issuetype in UX Review; UX Feedback, Design, Research and Testing;

OR (issue-type = Sub-task AND Summary ~ UX) OR  (issue-type = Sub-task AND assignee in ....

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events