It's all about the answers!

Ask a question

how to bulk delete requirement links in RQM?


jane zhou (6913) | asked Feb 01, 2:13 p.m.

 Hi Someone who may concern,


        We have linked 20000 test cases to requirements in GC stream A. 
        GC stream A
          1 RQM stream x
          2 DNG stream y
 
       Now we branch off RQM stream to RQM stream x1 , however, since our DNG project change, we need to use a totally different DNG stream. i.e. content of DNG stream y is totally different with DNG stream z. So we need to relink all our test case. However, we noticed all links to DNG stream y is still there in RQM stream x1,  but just broken, since it can not find the same artifacts in DNG stream z. 

       How could we bulk remove all those invalid links in RQM?
           
        GC stream B
           1 RQM stream x1
           2 DNG stream z

          Thanks!

Best Regards,
Jane Zhou

One answer



permanent link
abhishek gour (2812) | answered Feb 04, 6:51 a.m.
Hi Jane,
Links between QM and RM are actually stored by QM. So when you change the streams, you may see broken links with QM. In order to update or remove these links you may have to run OSLC commands on all of your test artifacts.

One way is to write scripts to run OSLC commands on all of your test cases to remove links of type oslc_qm:validatesRequirement. To know more about doing that - please refer to https://jazz.net/wiki/bin/view/Main/RqmOslcQmV2Api. There all the capabilities pertaining to update/remove links from test artifacts are explained there.

Alternatively, you could also choose to use OSLC Clearner Utility - To know more about it, please download it from same location mentioned above. 

Thanks,
Abhishek.

Your answer


Register or to post your answer.