Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-63907

Add SHA hash to fileattachment table

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? 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:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: