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

Service Desk API access issue Edited

I'm trying out the Service Desk API. I created a new demo Service Desk Project which then created some sample tickets (incidents, service requests, etc.) I can view all of these tickets.

However, when I try to access the ticket using the Service Desk cloud api, I'm getting the response status 404:

{"errorMessage":"The request could not be found, or you do not have permission to see it.","i18nErrorMessage":{"i18nKey":"sd.attachment.error.issue.not.found","parameters":[]}}

Eg. I am doing a GET on: https://myinstance.atlassian.net/rest/servicedeskapi/request/ND-39

I am using the administrator account to view that particular ticket. I can view it from my web browser using the standard UI but not via a GET request. Eg. I can view it from the URL: https://myinstance.atlassian.net/projects/ND/queues/custom/1/ND-39

The only ticket that I can view successfully via a GET request is ND-1 for some reason. All the others gives me an error for some reason.

What am I missing?

3 answers

1 accepted

0 votes
Answer accepted

 

Hi @Juan Carlo Icaro 

I have the similar issue and i managed to fix it. 

Can you also make sure that you had specified which Request Type of your issue belongs to? 

When you are in the issue detail page, also make sure that there is none of field is in red color font. The error is causing the api not responding the value. 

Thanks Rechard. I don't have the instance anymore to test it though.

0 votes

Hello,

Have a look at this issue in the web browser. Is the field Request Type set for this issue?

Hi @Juan Carlo Icaro,

Looks like the instances are Atlassian cloud. Can you make sure that you are using correct and valid API tokens while invoking the REST APIs. This is a wild guess.

Regards,

Ravi Varma

Suggest an answer

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

The Complete Guide to Atlassian for ITSM

Hi Atlassian Community! This is Teresa from the Atlassian team. My colleague Paul Buffington @Buff and I are excited to share a brand new ITSM resource we’ve created – "The Complete Guide to At...

2,245 views 14 22
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