Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hello,
I am trying to create an issue via the command line interface "im". Specifically, I am trying to create an issue of type Requirement. When I issued the command, it returned with an error.
im createissue --field=Project=/Project/Doc1 --field="Document ID=1335457" --field="Text=this is a test text" --type=Requirement
Creating Requirement ...
*** Could not save item: MKS124312: Can not create an Item of Type Requirement.
Is this a problem with the configuration of the server to handle request for create a Requirement issue?
Many thanks,
Solved! Go to Solution.
change it to im createcontent --field=Project=/Project/Doc1 --field="parentID=1335457" --insertLocation=last --field="Text=this is a test text" --type=Requirement
change it to im createcontent --field=Project=/Project/Doc1 --field="parentID=1335457" --insertLocation=last --field="Text=this is a test text" --type=Requirement
Thanks for bringing createcontent to my attention. The man page for createcontent cryptic what this createcontent actually does.
I tried it out and the following worked for me.
im createcontent --field="Text=this is a second test" --type=Requirement --parentID=1335457
Where parentID points to the ID of the document.
cheers,