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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

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

vs-3
1-Visitor

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.

ACCEPTED SOLUTION

Accepted Solutions
KaelLizak
16-Pearl
(To:vs-3)

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

View solution in original post

1 REPLY 1
KaelLizak
16-Pearl
(To:vs-3)

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
Announcements


Top Tags