I have Java code that used to work and is no longer working but not sure where the problem is and no errors are reported in the JIRA system log.
When trying to create a request the ServiceDesk REST API has started returning 400 Bad Request with this response body:
{"errorMessage":"The request type you are trying to view does not exist.","i18nErrorMessage":{"i18nKey":"sd.customerview.error.requestTypeNotFound","parameters":[]}}
When I check JIRA the issue has been created, it has used the correct customer request type as the correct issue type is created and all the hidden fields from the request type have the correct values on the issue. However when viewing the issue the "Service Desk request" section indicates no match!
image2016-6-7 15:13:5.png
The authenticated user is a member of jira-users group and both the serviceDeskId and request type id are correct.
Seeing the same issue. I've had to delete and re-create the Request Type so it was available in the REST API. I think we need to report this as a bug. I'm just not sure of the exact steps to reproduce it so that the Request Type goes missing.
Resolved this issue. Discovered that the default limit for the Service Desk api is 50 and when we specified a greater number it works:
https://xxxx/rest/servicedeskapi/servicedesk/{servicedeskid}/requesttype?limit=1000&start=0
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.
Thanks - I appreciate your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm seeing the same issue.
2018-02-02 09:40:39,321 PsmmqAsyncExecutors-job:thread-27 WARN userXXX 580x10227x1 6uj76r 172.16.221.80 /secure/CommentAssignIssue.jspa [c.a.s.p.a.modules.ruleif.CustomerVisibleStatusChangeIfCondition] The request type you are trying to view does not exist.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to fix this for Service Desk by building out the Request Types and associating them with a Service Desk issue type. The problem I have now is that you can not do this for sub-tasks. The tool will not allow sub-tasks to be associated to an Request Type.
jira/servicedesk/admin to get to the Request Types
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you solve this - I have the same problem
Thanks
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
I can't find notes.
What version of ServiceDesk are you using? We are currently on 3.2.5
Our setup is as follows:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Our setup is the same.
My code is working fine with another service desk in the same JIRA instance - but I can't see any difference in the setup of the two. So for now we are fine. I'd still like to get to the bottom of it so if you do come across your notes I'd appreciate knowing what you did to solve the problem.
Chris
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.