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]
(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
Defines the name of a ticket attribute. The supported attribute names are as follows:
Note: These attribute names are case-sensitive.
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.
(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"
Copyright © 2013 CA. All rights reserved. |
|