How to Add Attachment in RTC Workitem(say defect) using OSLC4Net

Dec 1, 2015 at 6:55 AM
From last few days I am working on RTC Integration. I am able to add record using OSLC4Net sample application. But I don't see any example for add attachment file on Any workitem.

I attachment is supported? Please share the code /link for that.

Thanks in Advance
Dec 1, 2015 at 2:57 PM
Unfortunately, RTC does not currently have a public REST API for attachment management. There is an enhancement request open for this, but with no activity:

One hint I can give if you want to pursue this on your own is to use your browser's network tools and watch what happens when you add an attachment to a work item and save the work item. It is a two step process - create the attachment, then link it to the work item. It is not something that can be modeled easily with OSLC4NET. It might also be worth posting to the forum on to see if anyone else has tackled this.


Dec 2, 2015 at 6:27 AM
Thanks Mike,

I have done this with Rest call .Thanks for your suggestion and support.