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

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

XMLWordPrintable

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

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? 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: