Harvest

 View Only
  • 1.  Create Packages from external ticket system

    Posted Nov 12, 2019 07:24 AM
    Hi,

    For our current SCM tool (CA Endevor Workstation), we wrote a program to populate the CCID's (analogous to packages in Harvest) with ticket numbers from an external call logging system.

    I am studying the hcp.exe command line tool, but I would like some more insight, as I don't want to recreate all packages every time my batch job runs.

    Has anybody done this with Harvest?

    Regards,
    Jarus


  • 2.  RE: Create Packages from external ticket system
    Best Answer

    Posted Nov 22, 2019 11:27 AM
    Hi Jarus,

    You can create packages using hcp command but to do so you must install the client in the server from where you are going to executed it.
    Another choice is to use the new rest API included in the latest version of Harvest. 
    To avoid package creation every time you run a batch job you have to develop something custom that controls it.
    (hcp command will fail if a package with the same name already exists)


    Regards,
    Facundo


  • 3.  RE: Create Packages from external ticket system

    Posted Dec 07, 2020 08:16 AM
    Thank you, I got this working nicely by running a Delphi program that build the hcp commands and saves them to a .bat file!