How do I use the "summary" field in JQL?

When I use "/rest/api/2/search?jql=summary="TRUE"" I get the error "operator '=' is not supported by the 'summary' field". When I use "/rest/api/2/search?jql=summary:"TRUE"" I get the error "Error in the JQL Query: Expecting operator but got 'TRUE'. The valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS' and 'IS NOT'".

2 answers

1 vote
Joe Clark Atlassian Team Aug 29, 2016

You can only use the ~ and !~ operators with the summary and description fields in JIRA.  These behave similar to the LIKE and NOT LIKE keywords in SQL, except that you can't specify wildcards.

Because the information from these fields is stored in the JIRA search index in a tokenized format, it's not possible to specify an exact match using the = operator.


Why is it when I use the "Advanced Rest Client Application" I can use this:

"http://localhost:8080/rest/api/2/search?jql:summary:TRUE" and get the summary data for all the issues assigned to me?



"expand": "schema,names"
"startAt": 0
"maxResults": 50
"total": 6
"expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields"
"id": "10042"
"key": "TEST-43"
"id": "10001"
"description": "A task that needs to be done."
"name": "Task"
"subtask": false
"avatarId": 10318
"timespent": null


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

387 views 6 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you