It's all about the answers!

Ask a question

Importing RQM Categories


Marc van Lint (852129) | asked Nov 26 '12, 9:35 a.m.
JAZZ DEVELOPER
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

2 answers



permanent link
Paul Slauenwhite (8.4k12) | answered Nov 26 '12, 10:29 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
 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.

Comments
Marc van Lint commented Nov 26 '12, 10:57 a.m.
JAZZ DEVELOPER

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


Paul Slauenwhite commented Nov 26 '12, 11:06 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

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


permanent link
Brian Fleming (1.6k11928) | answered Nov 26 '12, 11:12 a.m.
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

Comments
Marc van Lint commented Nov 26 '12, 1:15 p.m.
JAZZ DEVELOPER

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