Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes



2 answers

Permanent link
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.

1 vote

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.


Permanent link
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

0 votes

Comments

Hello Claudio,
this action was implemented by Delete link objects when deleting an attachment (129790)
As far as I can see, only (all) links are deleted - the attachment remains in the repo.

I guess that definitively removing attachments from the repo will come with Define some extensible notion of an 'attachment' and provide a management UI for attachmenents across all products. (210880)

Thanks.
Eric.

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

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 17 '13, 10:51 a.m.

Question was seen: 5,235 times

Last updated: Jan 09 '14, 8:39 a.m.

Confirmation Cancel Confirm