Forums

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

List services requests in jira service desk cloud using REST API

Sree
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!
December 9, 2022

How do I list all the service requests in Jira service desk cloud? I have site admin privileges but when I list service requests using /rest/servicedeskapi/request I do not see requests created by other users in the project

#Note: I'm able to view all service requests thru the web UI but unable to list all requests using the REST API interface.

1 answer

1 vote
Fernando Eugênio da Silva
Community Champion
December 9, 2022

@Sree Vinayak Balasubramaniam , welcome to the Atlassian Community!

 

If you're using Jira Cloud, try using the REST API GET for JSM Cloud itself: https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-requesttype/#api- rest-servicedeskapi-requesttype-get

If, as you indicated, you have permissions on the projects, then you will be able to have a list of all Request Types created in the environment. I have tested the endpoint and it works fine.

 

Hope this helps

Sree
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!
December 11, 2022

@Fernando Eugênio da Silva 

I'm using this endpoint (https://abc.atlassian.net/rest/servicedeskapi/request) and able to list all service requests created by me, however I want to list all the service requested created by all the users in my organization.

I tried https://abc.atlassian.net/rest/servicedeskapi/request?requestOwnership=ALL_REQUESTS

 

using the requestOwnership parameter but does not seem to work. I'm referring to this document - https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-get

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events