It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Search filter Rest API not responding issues

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

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
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you