Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Translate the entire conversation x

How to add a test Item in an already created Test Session via CLI

Constantin719
3-Newcomer

How to add a test Item in an already created Test Session via CLI

Hello there, 

I would like to ask if there is a way to add one / multiple test Items in an already created Test Session via CLI.
I am working on an Windows machine if it makes any difference

I tried with editissue command but, as far as I understand, there is no --type argument in order to select my Test Session ID. 

Thank you in advance

ACCEPTED SOLUTION

Accepted Solutions

You have to familiarize yourself with the "im editissue" command.

There is no "type" argument because it doesn't make sense here since it cannot be changed. It sounds like you're trying to add Test Cases to a Test Session, presumably in the planning phase. The ID of the Test Session you're trying to edit is an option for the command, not an argument. So in this case, the command would be something like:

im editissue --addFieldValues="Planned Test Cases"=60719 65409

In other words, "add TC 60719" to TS 65409. (note that my field names may be different from yours.)

I hope this is the answer you're looking for.

View solution in original post

6 REPLIES 6

I am sorry if this is the wrong forum to ask, 
Do you have any recommendation in order to ask in the correct forum? 

Thank you for your reply,
It seems a good fit.

You have to familiarize yourself with the "im editissue" command.

There is no "type" argument because it doesn't make sense here since it cannot be changed. It sounds like you're trying to add Test Cases to a Test Session, presumably in the planning phase. The ID of the Test Session you're trying to edit is an option for the command, not an argument. So in this case, the command would be something like:

im editissue --addFieldValues="Planned Test Cases"=60719 65409

In other words, "add TC 60719" to TS 65409. (note that my field names may be different from yours.)

I hope this is the answer you're looking for.

Thank you very much for spending the time to answer my question.
That was exactly what I was looking for. I will invest some time to understand the edit issue command.

Best Regards 
Konstantinos

Announcements

Top Tags