Skip to content

Plane Query Language

Plane Query Language (PQL) lets you filter work items using text-based queries. Write structured expressions to quickly find exactly what you need.

PQL editor

Use the PQL editor

Plane includes an interactive editor that helps you build queries.

To switch to PQL mode, click PQL in the filter bar.

When you start typing in the PQL field:

  1. A dropdown shows available fields
  2. After selecting a field, you see operators
  3. Then you choose or type values
  4. Continue building your query using AND or OR

This guided experience lets you construct queries without memorizing syntax.

Query structure

PQL queries follow a simple pattern:

Field Operator Value

Example:

priority = High

This returns all work items where priority is High.

You can also combine multiple conditions using logical operators like AND and OR.

Using AND

type = Bug AND priority = High

This returns work items that match both conditions.

Using OR

state = Todo OR state = In Progress

This returns work items that match either condition.

Combined:

(priority = High AND state in (Backlog, In Progress, Todo)) OR (type in (Bug, Task, Improvements) AND assignee in (Ethan, Parker, Amanda))

Save as view

Once you've built your query, click Save view to preserve it for quick access later. See Views for details.

Where PQL works

PQL is available wherever work items are listed:

  • Work items
  • Cycles
  • Modules
  • Views
  • Teamspace work items
  • Workspace views

Operators reference

Each field supports different operators. The available operators depend on the field type.

id

OperatorDescription
=ID matches exactly
!=ID does not match
~ID contains text

title

OperatorDescription
=Title matches exactly
!=Title does not match
~Title contains text

type

OperatorDescription
INType is any of the specified values
NOT INType is not any of the specified values
=Type matches exactly
!=Type does not match

state

OperatorDescription
INState is any of the specified values
NOT INState is not any of the specified values
=State matches exactly
!=State does not match

stateGroup

OperatorDescription
INState group is any of the specified values
NOT INState group is not any of the specified values
=State group matches exactly
!=State group does not match

assignee

OperatorDescription
INAssigned to any of the specified members
NOT INNot assigned to any of the specified members
=Assigned to this member
!=Not assigned to this member
IS NULLNo assignee

priority

OperatorDescription
INPriority is any of the specified values
NOT INPriority is not any of the specified values
=Priority matches exactly
!=Priority does not match

mention

OperatorDescription
INMentions any of the specified members
NOT INDoes not mention any of the specified members
=Mentions this member
!=Does not mention this member
IS NULLNo mentions

label

OperatorDescription
INHas any of the specified labels
NOT INDoes not have any of the specified labels
=Has this label
!=Does not have this label
IS NULLNo labels

cycle

OperatorDescription
INIn any of the specified cycles
NOT INNot in any of the specified cycles
=In this cycle
!=Not in this cycle
IS NULLNot in any cycle

module

OperatorDescription
INIn any of the specified modules
NOT INNot in any of the specified modules
=In this module
!=Not in this module
IS NULLNot in any module

milestone

OperatorDescription
INIn any of the specified milestones
NOT INNot in any of the specified milestones
=In this milestone
!=Not in this milestone
IS NULLNo milestone

startDate

OperatorDescription
=Start date is this date
!=Start date is not this date
<Start date is before this date
<=Start date is on or before this date
>Start date is after this date
>=Start date is on or after this date
BETWEENStart date is within the specified range
IS NULLNo start date set

dueDate

OperatorDescription
=Due date is this date
!=Due date is not this date
<Due date is before this date
<=Due date is on or before this date
>Due date is after this date
>=Due date is on or after this date
BETWEENDue date is within the specified range
IS NULLNo due date set

createdAt

OperatorDescription
=Created on this date
!=Not created on this date
<Created before this date
<=Created on or before this date
>Created after this date
>=Created on or after this date
BETWEENCreated within the specified range
IS NULLNo creation date

updatedAt

OperatorDescription
=Updated on this date
!=Not updated on this date
<Updated before this date
<=Updated on or before this date
>Updated after this date
>=Updated on or after this date
BETWEENUpdated within the specified range
IS NULLNo update date

createdBy

OperatorDescription
INCreated by any of the specified members
NOT INNot created by any of the specified members
=Created by this member
!=Not created by this member

Custom properties

The available operators depend on the property type.

Text

OperatorDescription
=Text matches exactly
!=Text does not match
~Text contains value

Number

OperatorDescription
=Number equals this value
!=Number does not equal this value
<Number is less than this value
<=Number is less than or equal to this value
>Number is greater than this value
>=Number is greater than or equal to this value
BETWEENNumber is within the specified range
IS NULLNo number set
OperatorDescription
INOption is any of the specified values
NOT INOption is not any of the specified values
=Option matches exactly
!=Option does not match
IS NULLNo option selected

Boolean

OperatorDescription
=Value is true or false
!=Value is not true or false

Date

OperatorDescription
=Date is this date
!=Date is not this date
<Date is before this date
<=Date is on or before this date
>Date is after this date
>=Date is on or after this date
BETWEENDate is within the specified range
IS NULLNo date set

Member picker

OperatorDescription
INMember is any of the specified values
NOT INMember is not any of the specified values
=Member matches exactly
!=Member does not match
IS NULLNo member selected

URL

OperatorDescription
=URL matches exactly
!=URL does not match
~URL contains text

Built-in functions

PQL includes functions to filter work items based on common scenarios. These functions return a boolean value (true or false).

FunctionDescription
isOverdueDue date is past and state is open
hasNoAssigneeWork item has no assignee
hasNoLabelWork item has no labels
isTopLevelNot a sub-work item (has no parent)
isSubWorkItemIs a sub-work item (has a parent)
hasChildrenHas at least one sub-work item
hasStartAndDueDatesHas both start and due dates