Search filter Rest API not responding issues

Vidhi_Jain December 24, 2019

Hi,

I am using below Rest API to get issues of filter:

https://thewarrantygroup.atlassian.net/rest/api/3/search

Using POST method my payload is:

{"jql":"filter = 37724","startAt":"0","maxResults":"50","fields":["summary","assignee"]}

In header I am using Authorization(my API token) and Content-Type(application/json).

Below is the response  with 200 code:

{"startAt": 0,"maxResults": 50,"total": 0,"issues": [],}

 

Why I am not getting any issues? Although if I hit the url "https://thewarrantygroup.atlassian.net/rest/api/3/search?jql=filter=37724" , I can see list of issues related to the filter.

 

Please help me, I am not understanding what I am missing?

1 answer

1 accepted

0 votes
Answer accepted
Vidhi_Jain December 24, 2019

I am able to resolve it.

The correct rest api to get filter is:

https://thewarrantygroup.atlassian.net/rest/api/3/filter/37724

with GET method we just need to set Authorization with AuthToken.

 

Thanks anyways.

Suggest an answer

Log in or Sign up to answer