Previous Topic: dpmhd open Command--Open a Help Desk TicketNext Topic: dpmhd setstatus Command--Set the Status of a Ticket


dpmhd setattribute Command--Set an Attribute of a Ticket

The dpmhd setattribute command updates an attribute of an existing help desk ticket.

This command has the following format:

dpmhd setattribute [-sc sc_url] -id ticketid -name attr_name -value attr_value [-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

-name attr_name

Defines the name of a ticket attribute. The supported attribute names are as follows:

Note: These attribute names are case-sensitive.

-value attr_value

Defines the value to update an attribute with.

Note: If using setattribute to update the ticket status, enter the internal code associated with the status.

-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 Attribute

This example sets the value of the description attribute of the help desk ticket identified by ticket ID 400335.

dpmhd setattribute -id cr:400335 -name description -value "Poweroff server1"