how to get the attachment URL by use iAttachment
HI,
I want to get the attachment URL by using the iAttachment object.So,please help me to get the URL.
|
2 answers
attachments do not have a URL. they have an ID, which is relative to each workitem.
Comments
jose s
commented Jul 01 '13, 1:31 p.m.
normally you can go to RTC and right click the any attachment and say "Copy URL".
meaning, each attachment is having unique URL .I want to get the URL in
programmatically.
|
when I go to a workitem attachment in the web URL, the link under the name is displayed as
<code> https://server:port/ccm/service/com.ibm.team.workitem.service.internal.rest.IAttachmentRestService/repo/csid/Attachment/about.jsp?itemId=_V7F-sOJ0EeK2sLR3oTQZPA </code> I do not see copy URL. (except as provided by the browser) this attachment filename is 'about.jsp' |
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.