Can we change the type of ticket to service request programmatically. Currently the API supports only the incident type

image
Currently the API documentation says it only supports the Incident type.

Do we have any workaround on this?

Hello Akash,

If you have a service item created in the service catalog, then you can use the API raise service request to raise a new service request.

But if you don’t have a service item, then you could just raise an incident request and later use update a ticket to update the ticket type to ‘Service Request’. So, we use two API calls.
ex : API body to update a ticket while using bypass_mandatory parameter

{
    "ticket": {
        "type": "service request"
    }
}

Thanks to you, I just tested it, and it seems to be working fine.

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.