Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to delete attachment and buildrecord in RQM using REST API?

 I am trying to use RQM's REST API in my application to delete attachments and buildrecords. The RQM documentation (https://jazz.net/wiki/bin/view/Main/RqmApi) shows that DELETE is not a supported operation for either attachment or buildrecord resource. Naturally, when I try to send DELETE query like this:

<server>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project>attachment/urn:com.ibm.rqm:attachment:399

I am getting 501 (Not Implemented) from the server. The same is true for buildrecord.

DELETE requests of the same type do work for executionresult and testsuitelog, and the doc does say that DELETE is supported for both.

So, does anybody know if there is a way to delete attachments and buildrecords via REST API?

0 votes



One answer

Permanent link
No Mikhail ,as mentioned in the documentation DELETE for attachment and buildrecord is currently not supported using REST API.

BTW from UI you can deleted Build Record

0 votes

Comments

 Reshma, as I indicated in my question, I knew it was not supported by DELETE. I was just hoping that somebody would point me to another way of doing it. It is hard to believe that a major system like RQM would not provide any way to delete an attachment - not even from the web client.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020
× 27

Question asked: Jan 08 '16, 2:44 p.m.

Question was seen: 3,593 times

Last updated: Jan 11 '16, 8:45 a.m.

Confirmation Cancel Confirm