It's all about the answers!

Ask a question

OSLC api to Store and upload attachment from one test case result to another


Swathi sheshadri (13111) | asked Jan 17 '23, 11:33 a.m.
I have a use case to store attachment from one test case result and upload it to another test case result.
I went through links https://jazz.net/forum/questions/280154/how-to-upload-file-using-rqm-reportable-rest-api I do not see attachment for resource type for executionworkitem. I also want to know if  RQMURLUtility or commandline support this usecase in better way. Please let me know if there are some examples for copying attachment.

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Jan 18 '23, 2:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Comments
Ralph Schoon commented Jan 18 '23, 3:01 a.m. | edited Jan 18 '23, 4:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

ETM has at least two public APIs. The OSLC API and the Reportable REST API see https://jazz.net/wiki/bin/view/Main/RqmApi#HTTP_PUT_POST_Requests .

The Reportable REST API For ETM is a misnomer, because it also allows to POST and PUT which is not reporting. The Reportable REST API seems to support multipart for uploading attachments. Other applications only allow GET.

 


David Honey commented Jan 18 '23, 4:16 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Originally, there was a proposal for an OSLC specification for reportable REST. However, it never got past draft stage and then was never published. Since there isn't a public specification for it, different applications have done their own thing, so it's turned into a proprietary API without a specification, and as you have found out, there are differences in implementations between applications.

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.