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

Attachments are unchecked in quick-create when you change project or issue type

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low (View bug fix roadmap)
    • None
    • None
    • None

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

      1. Press 'c' to open quick-create.
      2. Add an attachment, make sure the checkbox next to it is checked.
      3. Change the project or issue type.
      4. The checkbox will now be unchecked.

            [JRASERVER-27475] Attachments are unchecked in quick-create when you change project or issue type

            Checking or unchecking an attachment doesn't result in ajax request. And adding the attachment is ajax'ified, but simply puts the file on the server (via REST). The information about which attachment is selected is unknown to the context unless the whole form is submitted.

            But the change of the issue type results in a (partial) reload of the quick create dialog. When reloading the attachments, simply all files, that are temporary added to the issue (through REST) are listed up.

            Martin Meinhold added a comment - Checking or unchecking an attachment doesn't result in ajax request. And adding the attachment is ajax'ified, but simply puts the file on the server (via REST). The information about which attachment is selected is unknown to the context unless the whole form is submitted. But the change of the issue type results in a (partial) reload of the quick create dialog. When reloading the attachments, simply all files, that are temporary added to the issue (through REST) are listed up.

              Unassigned Unassigned
              cdoble ChrisA
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: