Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to filter Issues by summary keywords and at least another field

Daniel Fernandez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2020

I have an issue in Jira. I want to search based on the 'Sample' word on Summary or Description, but also filtering by Project or Assignee. I tried with these REST calls:

.../rest/api/2/search?jql=summary~"Sample"&assignee=user123&fields=issues,summary,description&maxResults=2000&runQuery=true

.../rest/api/2/search?jql=summary~"Sample"&project=cdv&fields=issues,summary,description&maxResults=2000&runQuery=true

Those calls only filter by the Keyword, ignoring all subsequent filters, what can I do to fix this? This happens also using description instead of summary.

1 answer

1 accepted

0 votes
Answer accepted
Daniel Fernandez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2020

Sorry, I already resolved it with this:

rest/api/2/search?jql=summary~"Sample"%20AND%20project=CDV&fields=issues,summary,description&maxResults=2000

Using %20AND%20 instead of &

Suggest an answer

Log in or Sign up to answer