RQM 2.0 -'Save Error' for Work Item in imported test case
![](http://jazz.net/_images/myphoto/912eb7ed0f72340f630629ebaff5e9ed.jpg)
Initially I imported the test cases as documented in the Tutorial - Install Sample Data.
I then executed the steps documented, and I added a new requirement to the test case. (Chapter 3.1 - Step 7.)
However, when I tried to create a new Work Item and then save my change, I got the following error
"New Task-Quality can only be created if the TestCase is in Draft State"
I notice that the State: displayed in the test case = "com.ibm.rqm.planning.common.new",
so I checked the sample xml file I imported and I see the line containing the state =
<state>com.ibm.rqm.planning.common.new</state>
I modified the file as follows:
<state>Draft</state>
re-imported it and attempted again to create a new Work Item.
Unfortunately I still get the same error - even though the State now shows "Draft".
I then attempted to import my own test case, creating it using the xml format shown in the sample and setting the state = "Draft"
ie. <state>Draft</state>
However, when I try to create a Work Item I get the same error, even though State does = "Draft".
I also notice that the Action drop-down list does not contain a "Ready for Review" option
unlike the Test Cases I manually created from scratch.
Does anyone have any idea what might be causing this problem?
I then executed the steps documented, and I added a new requirement to the test case. (Chapter 3.1 - Step 7.)
However, when I tried to create a new Work Item and then save my change, I got the following error
"New Task-Quality can only be created if the TestCase is in Draft State"
I notice that the State: displayed in the test case = "com.ibm.rqm.planning.common.new",
so I checked the sample xml file I imported and I see the line containing the state =
<state>com.ibm.rqm.planning.common.new</state>
I modified the file as follows:
<state>Draft</state>
re-imported it and attempted again to create a new Work Item.
Unfortunately I still get the same error - even though the State now shows "Draft".
I then attempted to import my own test case, creating it using the xml format shown in the sample and setting the state = "Draft"
ie. <state>Draft</state>
However, when I try to create a Work Item I get the same error, even though State does = "Draft".
I also notice that the Action drop-down list does not contain a "Ready for Review" option
unlike the Test Cases I manually created from scratch.
Does anyone have any idea what might be causing this problem?
5 answers
![](http://jazz.net/_images/myphoto/912eb7ed0f72340f630629ebaff5e9ed.jpg)
Initially I imported the test cases as documented in the Tutorial - Install Sample Data.
I then executed the steps documented, and I added a new requirement to the test case. (Chapter 3.1 - Step 7.)
However, when I tried to create a new Work Item and then save my change, I got the following error
"New Task-Quality can only be created if the TestCase is in Draft State"
I notice that the State: displayed in the test case = "com.ibm.rqm.planning.common.new",
so I checked the sample xml file I imported and I see the line containing the state =
<state>com.ibm.rqm.planning.common.new</state>
I modified the file as follows:
<state>Draft</state>
re-imported it and attempted again to create a new Work Item.
Unfortunately I still get the same error - even though the State now shows "Draft".
I then attempted to import my own test case, creating it using the xml format shown in the sample and setting the state = "Draft"
ie. <state>Draft</state>
However, when I try to create a Work Item I get the same error, even though State does = "Draft".
I also notice that the Action drop-down list does not contain a "Ready for Review" option
unlike the Test Cases I manually created from scratch.
Does anyone have any idea what might be causing this problem?
I was given to understand that this is a known problem with the import of the sample data specifically in the beta as its not setting the "state" values correctly ... I would suggest you try creating a new test case yourself and see if the work item error is still apparent.
![](http://jazz.net/_images/myphoto/912eb7ed0f72340f630629ebaff5e9ed.jpg)
Come on!!
I need to the same.
Please, some one put format of XML for import in RQM.
Thanks
You can get the xsd that defines the data format from the server at: https://<servername>:<port>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/schema/qm.xsd
Where other namespaces are referenced, you can get the xsd for those namespaces in a similar manner. For example for the dc namespace use: https://<servername>:<port>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/schema/dc.xsd