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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

CLI command to create test session in PTC integrity

SS_10728259
4-Participant

CLI command to create test session in PTC integrity

• Name : Shekhar Sabale

• Product: Integrity 11

• Product Release: 2017

• Help Topic Title: CLI command to create test session in PTC integrity

• Level of Expertise in the Product (Beginner, Intermediate, Advanced) : Beginner

• Comments:

 

Trying to find CLI command to create test session item in PTC integrity. Checking below PTC reference: http://support.ptc.com/help/integrity_hc/integrity111_hc/en/index.html#page/IntegrityHelp%2Fim_createissue.html%23

Tried below command seems not working, It required more operands; Please assist me regarding this.

 

 

 

 

im createissue --type=Test Session --field="Summary=Update release notes" --field="Assigned User=SHEKHAR SABALE" --field="Project=/L2H0090" --field="Test Objective=19715867" --field="State =Submitted"

 

 

 

 

 

 

 

 

 

ACCEPTED SOLUTION

Accepted Solutions

Hi SS_10728259,

You're right. If related item ids are multiple, then use a space to split them.

im createissue --type="Test Session" --field="Summary=Update release notes" --field="Assigned User=SHEKHAR SABALE" --field="Project=/L2H0090" --field="Test Objective=19715867" --field="State=Submitted" --field="Tests=id1 id2..."

 

Here is my test result:

IvyZhuang_0-1689236755131.png

 

Regards,

Ivy

 

View solution in original post

4 REPLIES 4

Hi SS_10728259,

 

Two places in your command need be modified:

1. Type name includes a space, so it needs double quotes for type name

2. "State =" has an unnecessary space between State and =

 

Therefore, the command should be 

im createissue --type="Test Session" --field="Summary=Update release notes" --field="Assigned User=SHEKHAR SABALE" --field="Project=/L2H0090" --field="Test Objective=19715867" --field="State=Submitted"
SS_10728259
4-Participant
(To:IvyZhuang)

Hello  IvyZhuang,

 

Thanks a lot for the answer It is working as expected.

One more quick help required.

Want to update field is equal to Tests  with my testcase IDs in Item ID's as shown below in picture.

It shall take IDs with space in between. What shall be command to do this?

Thanks in advance.

SS_10728259_0-1688396163736.png

 

 

Hi SS_10728259,

You're right. If related item ids are multiple, then use a space to split them.

im createissue --type="Test Session" --field="Summary=Update release notes" --field="Assigned User=SHEKHAR SABALE" --field="Project=/L2H0090" --field="Test Objective=19715867" --field="State=Submitted" --field="Tests=id1 id2..."

 

Here is my test result:

IvyZhuang_0-1689236755131.png

 

Regards,

Ivy

 

SS_10728259
4-Participant
(To:IvyZhuang)

Already resolved, Thanks for the answer.

Announcements


Top Tags