Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Jira Service Desk Requests API Edited

Hi,

I am using Jira Service Desk 4.13.3 and I am experiencing some weird results and would appreciate some assistance.

 

The following two endpoints do not yield the same results based on permissions:

1 - https://docs.atlassian.com/jira-servicedesk/REST/4.13.3/#servicedeskapi/request-getMyCustomerRequests

2 - https://docs.atlassian.com/jira-servicedesk/REST/4.13.3/#servicedeskapi/request-getCustomerRequestByIdOrKey

 

My scenario is as follows:

1 - The ticket is shared with organizations/participants and both apis return the results correctly.

2 - I dont want to have the user part of the organizations/participants in order to query the apis above to get the results. If the user is has browse permission and the service desk agent permission as well as a service desk license they should still see the ticket from both api calls.

However 
https://docs.atlassian.com/jira-servicedesk/REST/4.13.3/#servicedeskapi/request-getMyCustomerRequests does not return my ticket in its results while https://docs.atlassian.com/jira-servicedesk/REST/4.13.3/#servicedeskapi/request-getCustomerRequestByIdOrKey does.

These both seems to be the same request with the latter just specifying the ticket id directly.

Why does scenario 2 not work for endpoint 1 ?

 

Regards,

Avinash

1 answer

The getMyCustomerRequests only returns issues where the caller is either the Reporter or the Request Participant. If a user has the browse permission and a service desk agent license, then the user can use the https://docs.atlassian.com/software/jira/docs/api/REST/8.13.3/#api/2/filter and https://docs.atlassian.com/software/jira/docs/api/REST/8.13.3/#api/2/search methods to obtain requests of interest.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Atlympic Event: Jira Service Managemnt

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

215 views 1 4
Read article

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