Previous Topic: dpmhd setattribute Command--Set an Attribute of a TicketNext Topic: Imaging Commands


dpmhd setstatus Command--Set the Status of a Ticket

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]
-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-id ticketid

Defines the unique ID assigned to the ticket by the help desk system when the ticket was opened.

Example: cr:100400

-value statuscode

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:

APP

Sets the status to approved.

CL

Sets the status to closed.

OP

Sets the status to open.

REJ

Sets the status to rejected.

RSCH

Sets the status to researching.

WIP

Sets the status to work in progress.

-locale iso639value

(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