Forums

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

issuetype != Task OR subtasks what is the error in this

Ramanathan Hariharan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 29, 2021

issuetype != Task OR subtasks

What is the error in this JQL Query

2 answers

1 accepted

1 vote
Answer accepted
Kevin Johnson
Community Champion
April 29, 2021

Hi @Ramanathan Hariharan ,

If you are trying to get issues that are not task or subtask try something like "issuetype != Task or issuetype != Subtask"

If you want all issues other than both try "issuetype not in (Task,Subtask)"

Error is due to the issuetype not mentioned, you cannot give the value continously.

-Kevin

0 votes
Nic Brough -Adaptavist-
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.
April 29, 2021

You might want to use functions instead of hardcoded lists of issuetypes.

For example, your query would probably be 

issuetype != Task and issuetype not in subtaskIssueTypes()

Suggest an answer

Log in or Sign up to answer