Hi, this might be a stupid question, but im an API-virgin, never used it before in any context.
Im trying to learn how to use it now and i've finally been able to create a request in my test service desk using the API.
The only downside is by using the service desk API im also forced to only use fields that are present in the request type I want to create.
The problem with this is that we have several fields that we only use internally that I would like to use when raising this request via API.
Do I need to add all these fields and hide them with a preset value in the request form to be able to do this or can I use the normal JIRA API to create the ticket in the project (even though its a service desk)?
If thats possible, I guess I wont be able set request type on the issue, but I can solve that with an automation that sets it on ticket creation.
Hello Stian,
Actually, JIRA Service Desk is only an Add-on that runs in the JIRA Core application.
That being said, the API call to create a new issue is the same on both applications, as if you were creating an internal issue and then adding the request type as you mentioned.
Please, refer to the documentation below to know more about REST API Calls on JIRA:
Hi Petterson,
Thanks for the reply!
I may have jumped the gun a bit quick, because I figured it out after a bit more testing, with the correct request type and everything.
Br,
Stian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome, Stian!
Have a nice week and let us know if you need anything else.
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.