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
},