how to create relateditem with mks
Hallo,
i have a problem to create a SW-Subtask with im createissue.
I use the following commandline:
(1) im createissue --Field="Project=/XX/YY" --Field="SWI=ZZ" --Field="Summary='my summary" --Field="Assigned User=me" --type=SW-Subtask --Field="Observer=he"
Creating SW-Subtask ...
Editing fields ...
Submitting ...
Could not save item: Cannot change the state to IMPLEMENTATION:
There's no parent of type SW-Task.
Then i used the following commandline:
(2) im createissue --Field="Project=/XX/YY" --Field="SWI=ZZ" --Field="Summary='my summary" --Field="Assigned User=me" --type=SW-Subtask --Field="Observer=he" --Field="parent=196" (196 is the parent workitem ID)
I got :
Creating SW-Subtask ...
Editing fields ...
Submitting ...
Could not save item: bitIndex < 0: -951
Could you please provide to me the correct solution to create a workitem with a predifined parent?
Thanks and regards
Miled Attia

