It's all about the answers!

Ask a question

How to create defect for test execution result?


Mohd Sajid (158) | asked Jan 03 '18, 6:54 a.m.
edited Jan 04 '18, 6:09 a.m.

 Hi,

I am trying to create defect for test case execution result using REST API's. i am unable to get api's to create the defect for a test case execution result(qm).even getting problem with xml format data to create defect.
I searched in service.xml file for cm to create defect ,but in vain.

Thanks,
MD.Sajid


Comments
Donald Nong commented Jan 04 '18, 12:04 a.m.

When you say "bug", what exactly the artifact type are you trying to create?


Mohd Sajid commented Jan 04 '18, 1:55 a.m.

 HI Donald,

Thanks. By 'bug' i mean creation of defect for testcase execution result.

One answer



permanent link
Paul Slauenwhite (8.4k12) | answered Jan 04 '18, 8:26 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Hi Mohd,

Please use the RQM OSLC QM API to add CLM links to test artifacts.  Note, the RQM Reportable REST API only supports reading CLM links in test artifacts (see https://jazz.net/wiki/bin/view/Main/RqmApi#ResourcesFootnote1).


Comments
Mohd Sajid commented Jan 05 '18, 6:10 a.m.

 Hi Paul,

Thanks for you response. It is help full. I am also getting problem with deriving of xml representation of data to create defect in ccm. I got api to create defect ,at https://jazz.net/wiki/bin/view/Main/WorkItemAPIsForOSLCCM20#Access_Control_Point, Post operation.

Thanks,
MD.Sajid

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.