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

importing ReqIF files

hi,

can anyone get me a sample ReqIF  file which can be imported in RRC... i tried those in the following link http://www.omg.org/spec/ReqIF/1.0.1/ which is given in the help page , but it is not importing it is showing error "import failed"

0 votes


Accepted answer

Permanent link
Hi Dhivya,

If you have RM installed, you can go to the "ReqIF Manager" tab in the project properties and create a new definition, add an artifact, save the definition, and export it to a .tar file.  Inside the .tar file is an XML which contains the ReqIF source.  Otherwise, I can attach a sample source here but it is a bit large.  Hope it helps,
dhivya arjunan selected this answer as the correct answer

1 vote

Comments

Hi Benjamin ,

i did the same but while creating a new definition i found the save button disabled .


2 other answers

Permanent link
Hi Dhivya,

This is a bug if you're using IE8.  If you try with FireFox it should work.

1 vote

Comments

oh fine thank you....


Permanent link

I was wondering why new artifact types are created when we import a ReqIF definition to an RRC project? What is the logic of this?

We have same requirement type in every project but whenever we import something we have "document2", "document3",etc. I believe RRC should compare the artifact types of different RRC projects where a reqIF import is gonna take place and if they are not the same, it should create a new type.

1 vote

Comments

The ReqIF infocenter topic gives details on how it works:
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m1/index.jsp?topic=%2Fcom.ibm.rational.rrm.help.doc%2Ftopics%2Fr_reqif_format.html
Notably:
Important: A ReqIF import creates types and artifacts during the first import into a project. Later imports of the same data update the existing resources, except for view column information. A ReqIF import only merges system-defined attributes and types. All other artifact types, attributes, data types, and folders are created in the project you are importing to if they have not been previously imported from a ReqIF file. For example, if you have a Priority attribute in the ReqIF file, and the current project already has a Priority attribute, the import creates another attribute that is named Priority2 .



So essentially the well-known System Types (Requirement Text, Title, Created On, Creator, etc) are able to be re-used, but at present there is no way to map user-defined types in a ReqIF file to existing types in a project. 
The recommendation is to seed any types in a project initially via ReqIF.  This associates that ReqIF object with the created type in RRC.  Thereafter, any imports using that same type (with the same ReqIF identifier) will be treated as the same.
Hope that helps,
Tom

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,019

Question asked: Sep 05 '12, 2:30 a.m.

Question was seen: 8,621 times

Last updated: Jan 17 '13, 10:31 a.m.

Confirmation Cancel Confirm