Remove vs. delete attachment - some findings and a question
Arne Bister (2.6k●1●28●32)
| asked Aug 12 '11, 9:29 a.m.
JAZZ DEVELOPER closed Aug 17 '13, 10:42 a.m.
Hi Team,
just found out by trial and error that the two permissions given for Team Configuration --> save work item --> modify work item --> modify work item links --> modify the work item's attachments a) delete attachments b) remove attachments differ as follows: Deleting attachments can be executed from Eclipse client by right clicking on an attachment in the link view of a work item. The attachment is deleted from the repository and links referring to it from elsewhere are dead. Removing an attachment can be done from either web or Eclipse client by clicking the red remove cross right of the attachment link in the link view of a work item. The attachment still remains in the repository and can be referenced by e.g. attachment 115. Question: If I remove an attachment from a work item, how can I retrieve it such that I can actually delete it from the repository? I have not found a good way of doing this. - Arne |
Accepted answer
Steve Woodbridge (135●23●26)
| answered Oct 23 '12, 8:51 p.m.
edited Dec 02 '15, 10:06 a.m. by Geoffrey Clemm (30.1k●3●30●35)
In order to delete a removed attachment, you need to reattach it to a work item, which will then give you the ability to delete the attachment.
This needs to be done via the Eclipse rich client
- OR -
Now you can delete the attachment
delete the "attachment <ID>" comment
Jared Burns selected this answer as the correct answer
Comments This worked, but I was confused on what the last part was telling me to do.
These steps came in handy today. Thanks. 1
Muktar Mohammed
commented Sep 10 '13, 2:22 p.m.
I found these steps very helpful today. IBM techs didn't even know about it.
|
One other answer
I tried the steps in version 5.0.2 but it doesn't work. I'm able to open the attachment within the discussion section after that. Is there now another way to delete attachments from workitems ? Comments
Donald Nong
commented Jun 03 '15, 1:06 a.m.
It still works with RTC 5.0.2. Make sure that you have followed Steve's steps exactly, particularly "delete" the attachment, not "remove" the attachment.
Katrin Heymann
commented Jun 03 '15, 3:05 a.m.
Thanks Donald for the answer. The problem was that Steve mentioned to move the attachment from the favorites to the links tab. In this tab there is no delete function available. It's necessary to move to the attachment tab. There you can select between remove and delete.
Geoffrey Clemm
commented Dec 02 '15, 10:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I've updated Steve's answer to make that correction.
|
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.