Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Attachment issue

Rajesh Ramankutty
Contributor
July 9, 2019

Hi,

i want to know is there is any possible of doing this i want to archive the attachments from the jira soft server version once the issue is completed 3months of time and i want to have an option to revert it back if the attachment is required for the end user. 

Thanks

Rajesh

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 9, 2019

Jira does not have an archiving function in it just for attachments, and only Data Centre has project archives.

Now, you can yank out the attachments file from a Jira issue, just by moving them out of the place they are kept on the disk.  This has two effects:

  • Users will have an ugly error when someone visits an issue that you've destroyed the attachment to
  • You will need to write something that maps and retains the displayed file name and disk structure if you ever want to put them back - attachments are not stored with the names on the file system

In short, this is probably a lot more work and time than "get a bigger disk for the attachments"

Rajesh Ramankutty
Contributor
July 9, 2019

@Nic Brough -Adaptavist-  Thanks for you reply but already we are using 1TB space .

it is increasing day by day so we want to have some solution regarding this attachments.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 9, 2019

I would want to analyse what they all are and why they are so large, come up with a policy that lowers the size limit so people can't dump massive files on there, and then look at deleting old issues with chunky attachments, or, better, deleting just the attachments properly - use REST calls to tell Jira to drop the ones you identified as unnecessary.

"Archiving" is just going to shift your disk space issues elsewhere, at a cost of some complexity, it's not going to solve the problem.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events