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

How can I import multiple values for a multi-valued category (test case import)

I am using RQM 4.0.4

I am importing test cases using Construction > Import Test Cases.  What delimiter should I use in the value attribute to cause it to import multiple values?  

See the Test Phase category in the xml below.   I want the result to have four category values selected (Regression Test, Release Checklist, Smoke Test, and System Test).   I've tried using both , and ; as a delimiter.  In both cases the import resulted in a single value for the category with the full string including , or ;.

   <testcase xmlns="http://jazz.net/xmlns/alm/qm/v0.1/">
      <title xmlns="http://purl.org/dc/elements/1.1/">Migration test - 1 (empty fields)</title>
      <owner xmlns="http://jazz.net/xmlns/alm/v0.1/">migrdev@ca.ibm.com</owner>
      <creator xmlns="http://purl.org/dc/elements/1.1/">migrdev@ca.ibm.com</creator>
       <description xmlns="http://purl.org/dc/elements/1.1/">aaa</description>
       <category term="Function" value="Release Packaging"/>
       <category term="Test Phase" value="Regression Test;Release Checklist;Smoke Test;System Test"/>
     </testcase>

0 votes


Accepted answer

Permanent link
To create/assign a category with multiple values:

<category term="Test Type" value="Regression Test"/>
<category term="Test Type" value="Release Checklist"/>
<category term="Test Type" value="Smoke Test"/>
<category term="Test Type" value="System Test"/>

Note, Creating a test artifact with a category with multiple values does not create a multi-valued category. (103135).

In addition, you are attempting to set multiple values on a single value category (Test Phase).
Kimlee Gile selected this answer as the correct answer

0 votes


One other answer

Permanent link
Perfect!   It didn't occur to me to have multiple entries for a single category.

FYI - my Test Phase category is a multi-valued category because that fits our process needs.

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
× 12,020

Question asked: Jan 13 '14, 9:03 p.m.

Question was seen: 4,537 times

Last updated: Jan 14 '14, 4:05 p.m.

Confirmation Cancel Confirm