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'".
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?
Sample:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.