How can I remove Validated By (links from RM to RQM) links in DNG in bulk?
![]() I have seen a situation where hundreds of requirements are linking from RM to RQM, but unfortunately the link goes to the requirement in the module which is what is desired and to the base artifact which isn't desired. I would like to know how I can deleted 100 (for example) links from the base artifacts to RQM. In short it would be any link from a base artifact to RQM should be removed leaving only links from the requirements module (the requirements within that module) |
2 answers
![]()
You can use the REST Api.
Do a search for all the requirements matching your criteria.
Perform a GET for each.
Remove the oslc_rm:validatedBy elements matching your criteria.
Perform a PUT to the requirement making sure to include the updated xml in the body and passing the eTag in the If-Match header.
|