The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

combining assignee and project queries

rpsg35
February 7, 2020

I am trying to fetch data by fetching response from https://domain_name.com/rest/api/2/search?jql=project=project_name&assignee=assignee_name. However the response will yield data of all assignee and not the one specified in the jql request.

 

fetching from https://domain_name.com/rest/api/2/search?jql=assignee=assignee_name however , will send the data of issue only assigned to the specified user.

Is there some other way to trigger the api request using combined queries? 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Cristiano Mariano
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 7, 2020

Hi @rpsg35 ! Welcome to the community!

You have got to use the AND clause in your query. So it should be project=ABC%20AND%20assignee=jsmith.

When you use an ampersand, in fact you are creating another parameter (not appending to the jql parameter).

Hope this helps!

rpsg35
February 7, 2020

Yup...  Great. Thanks 

TAGS
AUG Leaders

Atlassian Community Events