Forums

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

How to select all task types(Story, Bug, Task, Improvement, not sub-tasks) in general using JQL ?

Sanjog Sigdel
Community Champion
June 28, 2023

I can filter tickets based on their issuetype with query like:

issuetype in(Story, Bug, Task, Improvement) when I want to filter tickets. I can do the same to list out sub-tasks.

Is there a generic way to selects all standard tasks but not sub-tasks using Jira Query?

 

This will be easy for me to include my 7-8 types of story level tickets everytime I want to filter them using Jira.

2 answers

1 accepted

2 votes
Answer accepted
Balaji Shriram Murkute
Contributor
June 28, 2023

Hi @Sanjog Sigdel ,

Using below jql function you can find issues that are not subtasks.

issuetype in standardIssueTypes()

Regards,

Balaji Murkute.

Sanjog Sigdel
Community Champion
June 28, 2023

This is the exact solution I was looking for.

Thank you. @Balaji Shriram Murkute 

Sanjog Sigdel
Community Champion
June 28, 2023

Just adding these two issuetypes here for future references and just is case anyone else is searching for the same query.

  • issuetype in standardIssueTypes()
  • issuetype in subTaskIssueTypes()
1 vote
karel_mellen
Contributor
June 28, 2023

type != Sub-task ?

Sanjog Sigdel
Community Champion
June 28, 2023

Sub-task is a particular type of Sub Task, we can have multiple sub tasks such as QA, Design, Documentation and Support subtasks. As many as we create. Above solution provided by ! @Balaji Shriram Murkute there are few issue types. Standard Issue types are issue types who can have sub-tasks say Story, Task, Bug, Improvement etc.

Save these two issue types. This wis gonna make my queries look too small and pretty :)

  • issuetype in standardIssueTypes()
  • issuetype in subTaskIssueTypes()

Above solution is perfect.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events