Skip to main content
1-Visitor
April 22, 2016
Solved

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

  • April 22, 2016
  • 1 reply
  • 2390 views

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.

Best answer by KaelLizak

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

1 reply

KaelLizak16-PearlAnswer
16-Pearl
May 9, 2016

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