It's all about the answers!

Ask a question

RQM 2.0 -'Save Error' for Work Item in imported test case


Brian Doherty (3132) | asked Jun 24 '09, 11:49 a.m.
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?

5 answers



permanent link
Karen Steele (1.2k4139148) | answered Jun 24 '09, 1:28 p.m.
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.

permanent link
Brian Doherty (3132) | answered Jun 24 '09, 1:41 p.m.
I have had no problem after creating a test manually, but I need the ability to import existing test cases, so I need to know the xml format for my data. Is there a different xml format I can use to create a test case, other than the one shown in the examples?

permanent link
Dave Payne (81152) | answered Jun 24 '09, 3:52 p.m.
JAZZ DEVELOPER
I am also interested in the answer to this question as I have seen the same problem while import test cases using the sample XML files as a basis for my imports. I'm working with RQM 2.0 Beta.

Thanks

D

permanent link
Roberto Norambuena (11) | answered Jul 02 '09, 10:25 a.m.
Come on!!
I need to the same.

Please, some one put format of XML for import in RQM.

Thanks

permanent link
Robert Rassmann (9923) | answered Jul 06 '09, 11:02 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.