How to compare two versions of requirements which are imported into DOORS NG using Reqif?
![](http://jazz.net/_images/myphoto/149a55d295a82d3e6da1c97a558392fd.jpg)
2 answers
![](http://jazz.net/_images/myphoto/149a55d295a82d3e6da1c97a558392fd.jpg)
I don't think it's possible in the two scenarios that may happen.
1. You have two requirement artifacts that are imported from ReqIF files, and you want to know what are the differences between them. This is basically the same as comparing two random requirement artifacts and try to find out the differences. I'm not aware of any functions or tools to do it.
2. You have two ReqIF files that you are going to import into RDNG and you want to know what are the differences between them. The ReqIF format can be seen as an XML format with complicated contents. I'm not aware of any tools to compare them either.
![](http://jazz.net/_images/myphoto/149a55d295a82d3e6da1c97a558392fd.jpg)
If you use Global configuration Management, you could create a new stream, then based on that stream create a workspace, import and create a baseline for the first import. You could do the same for the second import and compare the baselines. Just a thought, I don't know the details at the moment.
Comments
![](http://jazz.net/_images/myphoto/149a55d295a82d3e6da1c97a558392fd.jpg)
Thanks for the reply Ralph.
I have one more doubt. I imported one reqif say Requirement v1 in a folder in the project. How will be the behaviour if i import another reqif requirement v2 into the same folder?
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
I am not a DoorsNext expert, so take it with a grain of salt. I don't know the reqif importer well enough, so I don't know if it would import a requirement on top of an existing one.
I would suggest to setup a small test system to play around with all these concepts until you understand how you can use them in your context.
![](http://jazz.net/_images/myphoto/0227396f4efb17d0baa0c12dd70df878.jpg)
Upendran, if v2 is completely different from v1, the answer is easy, as you will get all new requirement artifacts, in the same folder. But if the v2 is a "modified" version of v1, the behavior is hard to predict - if RDNG can match any resource in the ReqIF to an existing resource in RDNG, it will update it; otherwise a new resource (data type, attribute type, artifact type, requirement artifact and etc) will be created.
1 vote