Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-63907

Add SHA hash to fileattachment table

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    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

          Activity

            People

              Unassigned Unassigned
              1d31a2de2270 Aristedes Maniatis
              Votes:
              7 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: