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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Have a look at this issue in the web browser. Is the field Request Type set for this issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.