Adding Attachments to Work Item
Hi,
I tried to follow the indications in other topics, but i have still problems in adding attachments to a work item! Anyone could help me? This is the final part of my code. "note" is a xml String; "wi_ref" are the references of my work item. After running the code, no errors are found, but nothing appears in the work item "Attachments" table :(
|
5 answers
Ralph Schoon (63.5k●3●36●46)
| answered Nov 03 '11, 8:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
the code should look like this:
Try to browse the SDK for usage. See the Extending Team Concert article on how to set that up. |
Hi, Thanks for your reply! I have to add the attachment from the server side, so i can't use client.createAttachment, but the corresponding server.createAttachment, which doesn't receive the same parameters.. I didn't find indications for the server side anywhere... |
Ralph Schoon (63.5k●3●36●46)
| answered Nov 03 '11, 9:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Did you search the API in Eclipse? How to set that up for developing server extensions is shown in Extending RTC workshop in the libray. Just mark your method ans search for references.
There is also now an API Javadoc for 3.0.1.1. I can't debug this right now. |
mmm, i can't find createAttachment, saveAttachment or similar in the Extensions Workshop...
|
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.