Skip to main content
1-Visitor
September 15, 2016
Solved

Possible to create an issue of requirement type via command line?

  • September 15, 2016
  • 1 reply
  • 2765 views

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,

    Best answer by jwangpeng

    change it to im createcontent --field=Project=/Project/Doc1 --field="parentID=1335457"   --insertLocation=last --field="Text=this is a test text" --type=Requirement

    1 reply

    jwangpeng1-VisitorAnswer
    1-Visitor
    September 15, 2016

    change it to im createcontent --field=Project=/Project/Doc1 --field="parentID=1335457"   --insertLocation=last --field="Text=this is a test text" --type=Requirement

    tchin1-VisitorAuthor
    1-Visitor
    September 15, 2016

    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,