Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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?

0 votes



5 answers

Permanent link
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.

0 votes


Permanent link
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?

0 votes


Permanent link
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

0 votes


Permanent link
Come on!!
I need to the same.

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

Thanks

0 votes


Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 24 '09, 11:49 a.m.

Question was seen: 4,498 times

Last updated: Jun 24 '09, 11:49 a.m.

Confirmation Cancel Confirm