It's all about the answers!

Ask a question

Remove Duplicated requirements from DNG

Abhishek Kumar (138) | asked Jun 03 '22, 3:04 a.m.
edited Jun 03 '22, 3:05 a.m.


I have imported requirements in DNG using CSV import. There is around 50 thousand requirements imported and also for different artifact types.
After importing, we found an issue that there are duplicate requirements created. The issue was that the duplicate requirements existed in the CSV itself. 
Now we want that somehow we can get rid of that duplicate requirements created with the help of DNG itself. Is there any way within the DNG to remove those duplicate requirements by some kind of filtering method or any other way applicable.
We don't want to repeat the CSV import process again after modifying the CSV

Thanks in Advance

One answer

permanent link
Daniel Moul (4.9k1118) | answered Jun 21 '22, 8:51 a.m.

If you have more than you are willing to delete manually (probably a few hundred), you could create a list of the ids of the duplicated artifacts (outside of DOORS Next) and you could feed them to a utility that makes OSLC-RM calls to the server to delete them. This utility would not be simple to create if you haven't done something similar in the past. 

If you want to go down this path, perhaps you can find (or someone reading this can point you to) a utility or an example providing a pattern you can use.

Your answer

Register or to post your answer.