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: 

API to retrieve requests raised by a group of users

Ted
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!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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 Champions.
July 8, 2021

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

Ted
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!
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!

TAGS
AUG Leaders

Atlassian Community Events