search cancel

How to close a ticket from the command line.


Article ID: 53694


Updated On:


CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service CA Service Desk Manager CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager



This document gives you the syntax for closing a ticket using the command line utility pdm_text_cmd.


The following example provides the syntax for closing a ticket from the command line.

  1. If you need to close a ticket with ID 12345, you need a file.txt.


    where <Ref#> represents the ticket reference number of the ticket you are trying to close. (In this example, it would be 12345)

  2. Save the above statements in a text file

  3. Run the pdm_text_cmd with file.txt as the input file...

    The actual command is

    pdm_text_cmd.exe -t Request -o UPDATE -u <userid> -f file.txt

    where file.txt is the text file specified above and <userid> is the user you wish to commit the update to using.
    (The -u flag is optional)

    The above command will update the ticket and set the status to close.


Component: ARGIS