The dpmhd setstatus command updates the status of an existing help desk ticket.
This command has the following format:
dpmhd setstatus [-sc sc_url] -id ticketid -value statuscode [-locale iso629value]
(Optional) Defines the URL for the service controller host.
Example: https://hostname:port/...
Defines the fully qualified host where the service controller is installed.
Example: localhost.ca.com
Defines the listening port for the service controller server.
Example: 80
Defines the unique ID assigned to the ticket by the help desk system when the ticket was opened.
Example: cr:100400
Indicates the status code that you are updating the ticket with. For example, for CA SDM enter the internal code associated with the status. Valid codes used to set the status of CA SDM tickets include:
Sets the status to approved.
Sets the status to closed.
Sets the status to open.
Sets the status to rejected.
Sets the status to researching.
Sets the status to work in progress.
(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".
Example: Update Ticket Status
This example updates the status of the help desk ticket identified by ticket ID cr:400335 to Approved.
dpmhd setstatus -id cr:400335 -value APP
Copyright © 2013 CA. All rights reserved. |
|