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

Issue view > Attach button remains interactable  with jira.issue.editable=false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • Issue - View
    • None

      Issue Summary

      With jira.issue.editable=false status properties setup, issues become uneditable and also users cannot add attachments.

      In the scenario, the fields in issue view becomes un-interact-able. However, the "Attache" button can still be interacted with.

      We can still click the attach button and select a file to attach. Only when we try to click "Open" to submit the file is when get blocked by an ambiguous error message.

      We couldn't save your attachment.
      Reload the issue then try adding it again. 

      The error message is also misleading as it recommends the user should try again – setting the wrong expectation that something is wrong with the system, when this is an intended behaviour.

      Steps to Reproduce

      1. Configure a workflow status and set the jira.issue.editable=false properties
      2. Create an issue that uses the workflow
      3. Transition the issue to the status that has jira.issue.editable=false properties
      4. Click the Attach button and try to upload a file

      Expected Results

      The Attach button shouldn't be interactable. Ideally it shouldn't be visible or greyed out.

      Or, clicking it should show an informative message that uploading attachment is not allowed in the current issue status.

      Actual Results

      It's possible to click the attach button and it prompts to select a file to upload. An ambiguous error message is shown only when we try to upload selected file.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              2ed764d1efd7 Nashid Farhad
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: