Does the Work Item REST API support adding attachments?
The wiki page covering the Work Item REST API (https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2) does not mention to add attachments to Work Items using the REST API. The table listing attributes at the bottom of that page seems to indicate that it should be possible to write to the "rtc_cm:com.ibm.team.workitem.linktype.attachment.attachment" attribute. If it is supported how can one "post" attachments?
Thanks, Samit |
4 answers
The wiki page covering the Work Item REST API (https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2) does not mention to add attachments to Work Items using the REST API. The table listing attributes at the bottom of that page seems to indicate that it should be possible to write to the "rtc_cm:com.ibm.team.workitem.linktype.attachment.attachment" attribute. If it is supported how can one "post" attachments? I am implementing at the moment similar functionality and would be very appreciate for some hints, how it is possible to do such things. Thanks |
The wiki page covering the Work Item REST API You could add a link to an existing attachment (rtc_cm:com.ibm.team.workitem.linktype.attachment.attachment is a link property), but creating new attachments is not supported yet. -- Regards, Patrick Jazz Work Item Team |
The wiki page covering the Work Item REST API You could add a link to an existing attachment (rtc_cm:com.ibm.team.workitem.linktype.attachment.attachment is a link property), but creating new attachments is not supported yet. -- Regards, Patrick Jazz Work Item Team is it supported now? thanks! |
Ralph Schoon (63.5k●3●36●46)
| answered Mar 23 '12, 5:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can use the Plain Java Client libraries.
|
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.