Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
None
Description
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
What
Add a new column to the fileattachment table in the JIRA database called "hash" and store in there the SHA256 hash (or even MD5) of the file.
Why
By adding this column, plugins for JIRA will be able to add significant new functionality to Jira. Future versions of JIRA will also be able to leverage this to achieve:
- Prevent the same attachment being added many times to the same issue (for example, logos from inbound email)
- Deduplicate attachment storage
- Integrity checking that the attachment on disk is unmodified
- Blacklist certain attachments from being added to the system (eg. again logos in inbound emails)
Attachments
Issue Links
- relates to
-
JRACLOUD-63907 Add SHA hash to fileattachment table
- Closed