Honored Contributor.. Honored Contributor..
Honored Contributor..

Javascript sample to update ticket (webservices)

Hi Experts,

I need a favor please. 
We have a requirement to integrate HPSM with another Service Desk system through web services.

From our side, whenever we update the ticket in HPSM, the journal updates & the status and some other fields should be updated in the other system.

Does anyone have a sample javascript to update tickets using webservices (from HPSM to another system)?



1 Reply
Micro Focus Expert
Micro Focus Expert

Re: Javascript sample to update ticket (webservices)


it depends on what APIs another system can provide. From HPE SM side, you can check following document:


it includes same codes for Consuming an external Web Service from Service Manager 

Let me know if it helps,


The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.