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

Removing the field from the screen makes the attachment undeletable in the UI

XMLWordPrintable

      Issue Summary

      When an attachment (e.g. image) is added inline to a custom field (such as a multi-line text field), and that field is subsequently removed from the issue screen or screen layout, or the issue is moved or cloned to a project where the field or its context is not available, the attachment remains visible in the Attachments panel. However, the delete (bin) icon is missing, and hovering over the eye icon shows a tooltip: “You can find this attachment in the custom field field”.

      This behavior can be triggered by:

      • Removing a custom field from the screen or layout after an attachment was added inline to it.
      • Moving or cloning an issue to a project where the field or its context is not available.
      • Changing custom field contexts so that the field is no longer present for the issue’s project or type.

      Steps to Reproduce

      1. Add an inline attachment (e.g., an image) to a custom text field in a Jira issue.
      2. Remove the custom field from the issue screen or from the screen layout.
      3. Go to the Attachments panel in the issue view.
      4. Hover over the eye icon next to the attachment.

      Expected Results

      • The tooltip should clearly indicate which field the attachment is associated with, using the actual field name.
      • If the field is no longer present on the screen, the UI should provide a clear way to delete the attachment or at least explain how to do so.
      • Users should not be left with undeletable attachments due to screen configuration changes.

      Actual Results

      • The tooltip says: “You can find this attachment in the custom field field”.
      • The bin (delete) icon is missing, so the attachment cannot be deleted from the Attachments panel.
      • There is no clear guidance on how to remove the attachment.

      Workaround

      While the UI does not allow deleting these attachments, they can be deleted via the Jira REST API:

      1. Find the attachment ID
        Use the Get issue endpoint to retrieve the issue’s details and locate the attachment ID in the response:
        "id": "10111",
        "filename": "image-20250829-081346.png",
        
      2. Delete the attachment
        Use the Delete attachment endpoint to remove the file.
        You must have the necessary permissions to delete attachments on the issue.

      Currently, there is no workaround available in the UI. A workaround will be added here when available.


      Related:

      • JRACLOUD-84855 – Similar issue with attachments not being deleted when the field is overwritten or removed.

              Unassigned Unassigned
              1b0cbebc727b Illia B
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: