Rally Software

 View Only
Expand all | Collapse all

Linking existing defect(DE12XXX) to Testcase(TC12XXX) , but the defect(DE12XXX) doesn't show the testcase(TC12XXX) in 'Testcases' Tab

  • 1.  Linking existing defect(DE12XXX) to Testcase(TC12XXX) , but the defect(DE12XXX) doesn't show the testcase(TC12XXX) in 'Testcases' Tab

    Posted May 19, 2022 10:24 AM
    Linking existing defect(DE12XXX) to Testcase(TC12XXX) , but the defect(DE12XXX) doesn't show the testcase(TC12XXX) in 'Testcases' Tab

    and if Testcase(TC12XXX)  is linked to defect(DE12XXX) through 'Testcases' tab, then defect(DE12XXX) is shown as Work product in Testcase(TC12XXX). 

    why is it like this? what's the difference!. This is not same for Testset linking with testcase

    The actual problem is, i want to link same defect with multiple testcases through rally wsapi. 

    i tried updating the defect reference path with Body as  { TestCases: [ {_ref : "/testcase/1231231XXXXXXX"},{_ref : "/testcase/1231231XXXXXXX"}]}

    But the response says ignoring property "TestCases' from request. 

    how do i link multiple testcases with same defect. ( i don't want to link defect as work product to testcase)


  • 2.  RE: Linking existing defect(DE12XXX) to Testcase(TC12XXX) , but the defect(DE12XXX) doesn't show the testcase(TC12XXX) in 'Testcases' Tab

    Posted May 19, 2022 10:39 AM

    Hi Sahithi,

    In my user community, the confusion is usually a lack of understanding of how Test Cases and Defects can be the (what I describe as) parents of one another.

    Either is possible (not both at the same time!) and the two different directions of the relationship have very different implications.

    Parents can have multiple children, but (and here the metaphor breaks down a tiny bit) children can only have one parent.

    I'm guessing the same is true in whatever syntax you need to use to represent it in WSAPI...

    --Nev.



    ------------------------------
    --Nev.

    Neville Percy
    Senior Functional Test Analyst, BTL Surpass
    ------------------------------