An attached file to a work itemĀ that is removed can still be accessed and downloaded through the link in history.
Using RTC 4.0 GA, I found that an attached file to a work item that is removed can still be accessed and downloaded through the link in history.
steps I used: Add a file in the attachment list in a WI Save the WI Remove the attachment. Save the WI Check work item history: The history should show that there was a file added as attachment and then removed but there should not be a reference to the file. is this a defect? |
2 answers
RTC behaves as designed.
In RTC, we have a 'delete attachment' action, which is different from the 'remove attachment' action. The delete attachment action is in the Eclipse client, in the context menu of the attachment part. As it is a operation that should only be performed by administrators. In general we have to policy to not delete resource for auditability and traceability reasons. Also an attachment can be referenced by more than one work item and also the attachment URL is usable from any application. I verified the behavior: removed attachment are still visible in the history (expected). Deleted attachments can not be retrieved. Comments Also, https://jazz.net/forum/questions/61348/remove-vs-delete-attachment-some-findings-and-a-question provides a way to delete an attachment after it has already been removed from a work item.
|
Hello Eric,
Can you please explain if the attachment is really deleted from the repository, or it's just not accessible anymore? On the SDK docs for the IAuditable, it was clear that nothing is really DELETED from the repository, just not referenced anymore. It also mentions that there are / were plans to distinguish a "user" delete and an "administrative" delete, maybe even on a separate admin API. Do you know anything about it? We are worried about the repository growing too much, and currently we have many attachments that could be purged without any auditing problems. If that was possible, at least. Thanks, Claudio Neves Comments Hello Claudio,
vishnudharan manivannan
commented Jan 09 '14, 8:39 a.m.
Hi Eric, What if the attachment is available in the links tab of the WI ,however still shows for clients as below ? Note : This behaviour is not for all users in the PA.
|
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.