Going Stellar

Home/JQL reference

JQL field

type (issuetype) in JQL: syntax and examples

The type field matches the work type of a work item: Bug, Task, Story, Epic, Subtask and any custom type your admin added. Search by name or by ID. The old name issuetype and the newer alias workType both work.

Syntax

type = Bug
issuetype in (Bug, Task)
workType not in (Epic, Subtask)
type in standardIssueTypes()

Works with

  • Field type: WORK_TYPE, with auto-complete
  • Names: type, issuetype, workType
  • Operators: =, !=, IS, IS NOT, IN, NOT IN
  • Functions: standardIssueTypes() and subTaskIssueTypes() with IN and NOT IN (found by running them; the docs list none)
  • Not with: ~, !~, >, >=, <, <=, WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED

Examples

type = Bug AND statusCategory != Done ORDER BY priority DESC, created ASC

Open bugs with the most urgent first and, within a priority, the oldest first. A weekly bug triage list.

Run on Jira Cloud on .

type in (Bug, Task) AND project = WEB AND statusCategory != Done

Unfinished bugs and tasks in one project, without stories and epics getting in the way.

Run on Jira Cloud on .

type not in (Epic, Subtask) AND project = MOB AND sprint is EMPTY AND statusCategory != Done

Plannable work that is not in any sprint, with the containers and the sub-tasks filtered out.

Run on Jira Cloud on .

type = Epic AND project = WEB AND statusCategory != Done ORDER BY created ASC

The epics that are still running, oldest first, for a quarterly roadmap check.

Run on Jira Cloud on .

type in subTaskIssueTypes() AND resolution = Unresolved AND assignee is EMPTY

Open sub-tasks without an owner, whatever the sub-task type is called in each project.

Run on Jira Cloud on .

issuetype = Bug AND created >= -30d

Bugs raised in the last 30 days, written with the classic field name. It runs the same as type.

Run on Jira Cloud on .

Pitfalls

  • The name has to exist, or the search is rejected. type = Defect returns "The value 'Defect' does not exist for the field 'type'." The same happens with the docs' own example workType in (Bug,Improvement) in any space that has no Improvement type, so check your type names first (checked on Jira Cloud, November 2026).
  • Only the JQL names work. "work type" = Bug returns "Field 'work type' does not exist or you do not have permission to view it." Use type, issuetype or workType (checked on Jira Cloud, November 2026).
  • Type names come from the space. Use type in subTaskIssueTypes() when you want every sub-task type, and type in standardIssueTypes() for the non-sub-task types, instead of listing names by hand.
  • Types have no history search: type was Bug returns "History searches do not support the 'type' field." For the same reason, type CHANGED fails, and type ~ Bug returns "The operator '~' is not supported by the 'type' field."

Ready-made queries

Questions and answers

Is it type, issuetype or workType?

All three run on Jira Cloud and return the same work. issuetype is the classic name; the current docs use type and the alias workType.

Sources

  1. JQL fields (Atlassian Support, Jira Cloud)
  2. JQL functions (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages