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

Allowlist and Blocklist attachment type in Jira

    XMLWordPrintable

Details

    • 387
    • 62
    • 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.

      Problem Definition

      JIRA currently allows all type file upload as attachment and currently cannot restrict attachments to certain file types.

      Suggested Solution

      A feature to allowlist and blocklist attachment so that only certain type of attachment are allowed to be uploaded in JIRA issues

      Workaround

      • Use an automation rule similar to the following to validate the extension of the file and delete it (if required). The following automation rule will delete any unwanted attachment filetypes when uploaded onto the description only;

       

      The regular expression used in the automation rule above (considering only jpg/gif/doc/pdf extensions are allowed);

      ^.*\.(jpg|JPG|gif|GIF|doc|DOC|pdf|PDF)$ 

       

      Attachments

        Issue Links

          Activity

            People

              441e7ea28a31 Yuan Zhuang
              smanimaran Shan Sharma Manimaran (Inactive)
              Votes:
              221 Vote for this issue
              Watchers:
              110 Start watching this issue

              Dates

                Created:
                Updated: