Previous Topic: dpmhd close Command--Close a Help Desk TicketNext Topic: dpmhd getstatus Command--Get the Status of a Ticket


dpmhd getattribute Command--Get an Attribute Value of a Ticket

The dpmhd getattribute command gets the value of an existing help desk ticket attribute.

This command has the following format:

dpmhd getattribute [-sc sc_url] -id ticketid -name attr_name  [-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.

-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: Get the Value of a Ticket Attribute

This example retrieves the value of the description attribute of the help desk ticket identified by the ticket ID cr:400335.

dpmhd getattribute -id cr:400335 -name description