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

Import requirements from XML

I'm looking to import requirements from xml format, but I can't find the required XML schema in any of the documentation. I've tried using the "addNewCustReq.xml" file from some of the sample documentation but that format doesn't work.

Does anybody have the format required to make the import work in 2.0? Here's a sample of what I've tried:

<xml>
- <requirement>
<identifier>Req1</identifier>
<title>Sample1</title>
<description>Sample requirement</description>
<updated>20090713 1335</updated>
<state>DRAFT</state>
<creator>Tester1</creator>
<owner>Manager1/owner>
<creationtime>2009071 1100</creationtime>
</requirement>

0 votes



3 answers

Permanent link
Hello,
You can find up-to-date API information at:
https://jazz.net/wiki/bin/view/Main/RqmApi
This includes information about the RQM schema for the REST API.
If that does not serve your needs, let us know.
Regards,
John

I'm looking to import requirements from xml format, but I can't find the required XML schema in any of the documentation. I've tried using the "addNewCustReq.xml" file from some of the sample documentation but that format doesn't work.

Does anybody have the format required to make the import work in 2.0? Here's a sample of what I've tried:

<xml>
- <requirement>
<identifier>Req1</identifier>
<title>Sample1</title>
<description>Sample requirement</description>
<updated>20090713 1335</updated>
<state>DRAFT</state>
<creator>Tester1</creator>
<owner>Manager1/owner>
<creationtime>2009071 1100</creationtime>
</requirement>

0 votes


Permanent link
I understand you had more trouble with this. I was going to post a snippet example but the silly formatter for messages on this forum strips out key information.
Instead, you can look at some examples in the <Install>\samples\classics directory. For instance, ViewOrderStatus_Req.xml (anything ending in _Req will be good). I have verified that those work through the XML import available over the web UI.
Regards,
John

I'm looking to import requirements from xml format, but I can't find the required XML schema in any of the documentation. I've tried using the "addNewCustReq.xml" file from some of the sample documentation but that format doesn't work.

Does anybody have the format required to make the import work in 2.0? Here's a sample of what I've tried:

<xml>
- <requirement>
<identifier>Req1</identifier>
<title>Sample1</title>
<description>Sample requirement</description>
<updated>20090713 1335</updated>
<state>DRAFT</state>
<creator>Tester1</creator>
<owner>Manager1/owner>
<creationtime>2009071 1100</creationtime>
</requirement>

0 votes


Permanent link
Hello,
can you please post an example how to import requirement with a custom attribute? We tried following, but does not work:

Definition of requirement custom attribute:
<customAttribute id="com.ibm.team.workitem.workItemType.requirement.req_test" name="Test" type="string"/>

XML for import:
<?xml version="1.0" encoding="utf-8"?>
<requirement xmlns="http://jazz.net/xmlns/alm/qm/v0.1/"
xmlns:jzalm="http://jazz.net/xmlns/alm/v0.1/"
xmlns:alm="http://jazz.net/xmlns/alm/v0.1/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:myns="http://mydomain.net/some/custom/namespace/v0.1/"
xmlns:ts="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/"
xmlns:er="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1/">
<XLSArtifactID>RQ_11112</XLSArtifactID>
<dc:title>RQ_11112</dc:title>
<dc:creator>John Williams</dc:creator>
<customAttributes>
<customAttribute type="string">
<identifier>com.ibm.team.workitem.workItemType.requirement.req_test</identifier>
<name>Test</name>
<value>This some some test description ...</value>
</customAttribute>
</customAttributes>
<dc:description>This is a new requirement ...</dc:description>
</requirement>

Thanks in advance.
BR,
Libor

I understand you had more trouble with this. I was going to post a snippet example but the silly formatter for messages on this forum strips out key information.
Instead, you can look at some examples in the <Install>\samples\classics directory. For instance, ViewOrderStatus_Req.xml (anything ending in _Req will be good). I have verified that those work through the XML import available over the web UI.
Regards,
John

I'm looking to import requirements from xml format, but I can't find the required XML schema in any of the documentation. I've tried using the "addNewCustReq.xml" file from some of the sample documentation but that format doesn't work.

Does anybody have the format required to make the import work in 2.0? Here's a sample of what I've tried:

<xml>
- <requirement>
<identifier>Req1</identifier>
<title>Sample1</title>
<description>Sample requirement</description>
<updated>20090713 1335</updated>
<state>DRAFT</state>
<creator>Tester1</creator>
<owner>Manager1/owner>
<creationtime>2009071 1100</creationtime>
</requirement>

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: Aug 10 '09, 12:30 p.m.

Question was seen: 5,093 times

Last updated: Aug 10 '09, 12:30 p.m.

Confirmation Cancel Confirm