Clarity Service Management

Expand all | Collapse all

How to create multiple tickets in one text input using text api?

  • 1.  How to create multiple tickets in one text input using text api?

    Posted 11-26-2014 08:21 AM

    In SDM 12.6, attempting to use text input file to create multiple incidents. However, text_api only processes the last instance of each keyword and ignore all others, resulting in only one incident being created. CA support says this is not supported but a programmed solution may work. Has anyone tried this?

     

    Input example:

     

    %REQUESTER= 12345

    %CUSTOMER=12345

    %CATEGORY=desktop.software

    %GROUP=mygroup

    %ASSIGNEE={USERID}

    %AFFECTED_SERVICE=Service Desk Manager

    %SUMMARY= test 1 api input

    %DESCRIPTION=test1

     

     

    %REQUESTER= 12345

    %CUSTOMER=12345

    %CATEGORY=desktop.software

     

    %GROUP=mygroup

    %ASSIGNEE={USERID}

    %AFFECTED_SERVICE=Service Desk Manager

    %SUMMARY= test 2 api input

    %DESCRIPTION=test2

     

    The first ticket is bypassed and only the second ticket is created.

     



  • 2.  Re: How to create multiple tickets in one text input using text api?

    Posted 11-26-2014 07:27 PM

    Hi Jeffery,

     

    Yes, job scheduling of this input file would help. Is there any reason why this option is not considered?

     

    Thanks,

    Naveen



  • 3.  Re: How to create multiple tickets in one text input using text api?

    Posted 11-27-2014 04:55 AM

    Example: Use an Input File to Create Multiple Requests

     

    The following example demonstrates creating multiple requests with one input file. This command can be helpful creating test data on a test system.

     

    %DESCRIPTION=This is Test 1.

    %PRIORITY=3

    %%%%%

    %DESCRIPTION=This is Test 2.

    %PRIORITY=2

    %%%%%

    %DESCRIPTION=This is Test 3.

    %PRIORITY=None

     

    To process this file, assuming its full path is c:\testdata.txt, issue the following command:

    pdm_text_cmd -t Request –u user01-f c:\testdata.txt

     

    P.S. This entire example was taken from the CA SDM Admin Guide (Appendix C: Reference Commands, pg: 951).

     

    Let us know if it helps?

     

    Regards,

    Brian



  • 4.  Re: How to create multiple tickets in one text input using text api?

    Posted 12-05-2014 04:01 AM

    Hi Jeffrey,

     

    Did the information provided above was helpful? If yes, mark this thread with correct answer.

     

    Thanks,

    Naveen



  • 5.  Re: How to create multiple tickets in one text input using text api?

    Posted 12-19-2014 05:03 AM

    Hello Jeffery,

     

    I'm marking this thread as "Assumed Answered" based on the above discussions.

     

    You may unmark this and provide further information if this is not the case.

     

    Or if there is a Correct Answer, please mark it.

     

    For best practice to encourage responses, see: Communities: Responding to Replies.

     

    Thanks, Kyle_R.

    Admin.