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

Importing RQM Categories

Hello World,

I used to import many categories by importing one Test Plan and one Test Case with all the categories in the XML file. With the new setup (as from 3.0) this is not possible. Every entry results in a new category with the same name (which is an error to my opinion).
What is an XML example to be imported to add a name-value category to a TP or TC?

Thanks,
Marc van Lint

0 votes



2 answers

Permanent link
 As of RQM 3.0.1, categories are a separate resource type (see https://jazz.net/wiki/bin/view/Main/RqmApi#Resources_and_their_Supported_Op). 

To determine the XML representation of the resource, see:

https://jazz.net/wiki/bin/view/Main/RqmApi#ScenarioCreateTip

Please open a new RQM defect for the issue with multiple categories created with the same name.

0 votes

Comments

As you already saw a defect was raised. Within 30 seconds a subscribe... is that a record?

Yes, Importing XML corrupts categories (76486) was assigned/subscribed to me to fix the problem.


Permanent link
I wonder if the copySettings script could work for you in the interim.  

http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/topic/com.ibm.rational.test.qm.doc/topics/t_copyproject.html

It seems to handle updates and if you want to be able to do this without having network access to the source server, you can by following the suggestions at this post:

https://jazz.net/forum/questions/76444/how-to-copy-categories-with-rqmcoputility-between-projects

0 votes

Comments

Will look into the option. You can easily create and manage the categories via the GUI (compared to V1.0 ;-) ....). The biggest problem here is that if a guy like me runs such an import it corrupts the db and it can't be corrected. Or at least, I don't know. Lucky me, I work mainly on demonstration DBs so I'm fine. But I it must be solved for production level.

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
× 10,952

Question asked: Nov 26 '12, 9:35 a.m.

Question was seen: 4,139 times

Last updated: Nov 26 '12, 1:15 p.m.

Confirmation Cancel Confirm