API to retrieve requests raised by a group of users

Ted July 6, 2021

Hi there,

I am currently on a project for our onboarding. For now, I need to retrieve requests raised by a group of users (or maybe just one user) from our Jira service desk. 

Also, I want to retrieve requests against requesttype ID. 

I have a detailed look on Jira API documentation but could not find a way to achieve the task I mentioned above. 

Thanks in advance.

Ted

1 answer

1 accepted

0 votes
Answer accepted
Alex van Vucht (GLiNTECH)
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 Leaders.
July 8, 2021

The easiest way to do this is first create the search filters that get what you want:

https://support.atlassian.com/jira-work-management/docs/search-for-and-filter-issues/

Then use those filter's IDs with the Get Filter API request to get those issues.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters/#api-rest-api-3-filter-id-get

Alex van Vucht (GLiNTECH)
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 Leaders.
July 8, 2021

Although usually, the Filter Subscription feature can do what you want here too.

Ted July 9, 2021

Thanks Alex.

I have successfully obtained the data I need from requesttype value.

I tried the "filter way" but seems I need an auth token (I am not the admin on portal yet)

Thanks for your advice!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events