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

Enhancement of jira.issue.editable to deny the deletion of attachments if set to true

XMLWordPrintable

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

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Is it possible to enhance the property jira.issue.editable so that a deletion of attachments is denied as soon as this property is set to true. I just did this enhancement but maybe this can be included to standardJira:

      manageattachments.jsp

      <webwork:if test="/hasDeleteAttachmentPermission(./id) == true && editable == 'true'">
           | 
           <a href="DeleteAttachment!default.jspa?id=<webwork:url value="/issueObject/id" />&deleteAttachmentId=<webwork:url value="./id" />" id="del_<webwork:url value="./id" />">
           <webwork:text name="'common.words.delete'"/></a>
      </webwork:if>
      

      and
      deleteattachment.jsp

      <webwork:if test="editable == 'true'">
           <page:param name="submitName"><webwork:text name="'common.words.delete'"/></page:param>
      </webwork:if>
      

              bbaker ɹǝʞɐq pɐɹq
              1a4ec1b300cf René Spengler
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: