CA Service Management

 View Only
  • 1.  Attach service type to ticket via webService

    Posted Jul 18, 2018 02:45 PM

    Hi all,

     

    Currently creating a ticket in ServiceDesk via webService and i'm wondering if there is a way to attach service type ot it.

     

    I know i can use doSelect to get the list of event in a service type and attach event one by one by using createObject but i find this tedious.

     

     

    Is someone aware of another way? Is there a server method that i can call via webservice that does this? How SDM does it internally? 

     

     

    Thanks!



  • 2.  Re: Attach service type to ticket via webService

    Broadcom Employee
    Posted Jul 18, 2018 03:30 PM

    Pier-Olivier, I am not aware there is a call for this purpose. However, if you set the priority value of the ticket, then it should bring in the service type with the events to the newly created ticket. Thanks _Chi



  • 3.  Re: Attach service type to ticket via webService
    Best Answer

    Posted Jul 19, 2018 02:27 AM

    Hi,

    check this example by Gutishttps://communities.ca.com/message/242002251-re-attach-sla-spell?commentID=242002251#comment-242002251 

    but to call it via WS you need to wrap it with your own method to perform group_leader checkin, like I suggested here: https://communities.ca.com/message/242129038-re-how-to-pass-uuid-values-in-callservermethod-soap-web-services?commentID=… 

    Regards.



  • 4.  Re: Attach service type to ticket via webService

    Posted Jul 19, 2018 09:49 AM

    Thanks Timur. Let's try this.