Going Stellar

Home/JQL reference

JQL field

text field in JQL: syntax and examples

The text field is a master field. One clause searches summary, description, environment, comments and custom fields that use the free text searcher. Use it when you remember a word but not where it was written, or when you want one search across a whole ticket.

Syntax

text ~ "word"
text ~ "\"exact phrase\""
text ~ "prefix*"

Works with

  • Operators: ~
  • Functions: none
  • Not with: !~, =, !=, >, >=, <, <=, IS, IS NOT, IN, NOT IN, WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED

Examples

text ~ "checkout" AND project = WEB AND statusCategory != Done ORDER BY updated DESC

Open WEB work that mentions checkout anywhere, from the title to the last comment. The most recently touched items come first.

Run on Jira Cloud on .

text ~ "\"checkout page\""

Only items where the two words sit together as a phrase. Without the escaped inner quotes the words may appear in different places.

Run on Jira Cloud on .

text ~ "check*"

A wildcard at the end of the word. It catches checkout, checkbox and other words that start with check, which helps when people spell things differently.

Run on Jira Cloud on .

text ~ "checkout" AND text ~ "payment" AND project = SCRUM

Two separate text conditions that must both hold. Use it to narrow a broad word down to one theme.

Run on Jira Cloud on .

text ~ "checkout" AND created >= -4w ORDER BY created DESC

Recent items that talk about checkout, newest first. A quick scan before a planning meeting.

Run on Jira Cloud on .

text ~ "login" AND issuetype = Bug

Bug reports that mention login in any text field. Pair the text search with a normal field when the word alone gives too much.

Run on Jira Cloud on .

Pitfalls

  • Only the contains operator works. text = "checkout" returns "The operator '=' is not supported by the 'text' field." and text !~ "checkout" and text is EMPTY fail in the same way (checked on Jira Cloud, November 2026).
  • A wildcard may not open the value. text ~ "*out" returns "The text query '*out' for field 'text' is not valid: the '*' and '?' are not allowed as first character in wildcard query." An empty value is refused too: "The field 'text' does not support searching for an empty string."
  • text includes comments, so a word in an old comment is enough to match. When you only want the ticket itself, use textfields, which the docs describe as the same search without comments and worklogs.
  • A search for a word the index does not hold is not an error. It returns an empty list, so check the spelling first before you decide the work does not exist.

Ready-made queries

Questions and answers

Does the text field in JQL search comments?

Yes. The docs list Summary, Description, Environment and Comments, plus custom fields that use the free text searcher.

How do I search for an exact phrase in the text field?

Put escaped double quotes inside the value: text ~ "\"full screen\"".

Sources

  1. JQL fields (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages