Rally Software

Expand all | Collapse all

How to create defect in particular defect suite using rally rest api?

  • 1.  How to create defect in particular defect suite using rally rest api?

    Broadcom Employee
    Posted Jul 06, 2018 07:32 AM

    I am trying to create the defect in defect suite by passing the _ref of defectsuite.

    but it is not working.

    Please suggest the correct way.

     

    restApi.create({
    type: 'defect',
    data: {
    Name: defectHeading,
    Description: defectDesc,
    defectsuite: defectsuitetUrl
    },


  • 2.  Re: How to create defect in particular defect suite using rally rest api?
    Best Answer

    Posted Jul 06, 2018 07:36 AM

    Satya,

     

    You will need to add the Defect to the Defect Suite instead of the other way around.  Here is an example on Stackoverflow that does this.

     

    How can I create defect and attach it to defect suite via Rally API (java)? - Stack Overflow 

     

    Hope that helps.

     

    Michael