cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Automate the Workflow of ALM_Open Point, ALM_Change Request using CLI batch script?

SOLVED
Highlighted
Level 1

How to Automate the Workflow of ALM_Open Point, ALM_Change Request using CLI batch script?

Example: "ALM_Defined" state ALM_OPEN POINT is created by the end-user. I want to automate the workflow process using standard procedure with CLI Batch script as follows.

STEP-1: Edit the ALM_OP, add conclusion and change state to "ALM_Checked State"

STEP-2: Create relate item (ALM_Change Request) for the Checked state "ALM_OP"

STEP-3: Edit the "ALM_Change Request" and prompt to Initiated, Defined, Checked, Analysed states.

STEP-4: Create relate item (ALM_Task) for the Analysed state ALM_Change Request.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to Automate the Workflow of ALM_Open Point, ALM_Change Request using CLI batch script?

Hello vijayakumar s,

For the corresponding steps with the minimal arguments I can interpret from your request:

  1. The command you want to use is im editissue --field="Conclusion=<value>" --field="state=ALM_Checked State" <ALM_OPItemID>
  2. The command you want to use is im createissue --type="ALM_OP"
  3. You'll want im editissue --field="Conclusion=<value>" --field="state=ALM_Checked State" <ALM_Change RequestItemID>.  You'll have to have your batch script prompt for and validate the values from the user, before using the appropriate --field= arguments
  4. You'll need another im createissue here, this time with an --addrelationships=<relationship>=<ALM_Change RequestID>

Regards,
Kael


Kind Regards,
Kael Lizak

Senior Technical Support Engineer
PTC Integrity Lifecycle Manager
1 REPLY 1

Re: How to Automate the Workflow of ALM_Open Point, ALM_Change Request using CLI batch script?

Hello vijayakumar s,

For the corresponding steps with the minimal arguments I can interpret from your request:

  1. The command you want to use is im editissue --field="Conclusion=<value>" --field="state=ALM_Checked State" <ALM_OPItemID>
  2. The command you want to use is im createissue --type="ALM_OP"
  3. You'll want im editissue --field="Conclusion=<value>" --field="state=ALM_Checked State" <ALM_Change RequestItemID>.  You'll have to have your batch script prompt for and validate the values from the user, before using the appropriate --field= arguments
  4. You'll need another im createissue here, this time with an --addrelationships=<relationship>=<ALM_Change RequestID>

Regards,
Kael


Kind Regards,
Kael Lizak

Senior Technical Support Engineer
PTC Integrity Lifecycle Manager