REST API For Attachments of a workitem
Hello Team
I want to know how to get the Workitems Attachment using Rest API. Currently i am able to access the information about id,summary and type of a workitem using below link https://rb-ubk-clm-04.de.bosch.com:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[target/id=M01.7 and type/id=com.bosch.rtc.configuration.workitemtype.type.changerequest]/id|summary|target/id|type/name But I am unable to find out the attachments of a workitem Please help |
One answer
You can get RTC WorkItem attachments via the RTC Reportable REST API.
workitem/workItem/auditableLinks/targetRef/referencedItem/href will give the link to the attachment; you need to filter / use a condition workitem/workItem/auditableLinks/name == "com.ibm.team.workitem.linktype.attachment"
Comments
pradeep kumar
commented Oct 15 '15, 5:49 a.m.
Is there any other way to get the attachments ?
Subramanya Prasad Pilar
commented Jul 24 '19, 11:33 p.m.
I've modified my answer. Hope that helps.
|
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.
Comments
Hi Pradeep, I hope you're well. Did you solve it?