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

Attaching Images with Keyboard Shortcuts (Ctrl + V) into Issues is Inconsistent/Broken

    XMLWordPrintable

Details

    Description

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

      Summary

      Attaching images using CTRL + V does not consistently bring up the Attach Screenshot popup dialogue to allow upload.

      Environment

      • Windows OS
      • Safari OS
      • Firefox - Inconsistent
      • Chrome - Inconsistent
      • IE 11 - Inconsistent

      Steps to Reproduce

      1. Navigate to an Issue
      2. Copy an image to your clipboard
      3. Click on JIRA to bring the page in focus
      4. Use CTRL+ V to attach image
      5. If the Attach ScreenShot dialogue pops, click Cancel and repeat step 4
      6. If no dialogue box appears repeat step 4 (In Firefox and IE, this may take 15+ pastes)

      Another Step to Reproduce

      1. During issue transition, if there is a popup screen with comment box configured and shown. We are allowed to CTRL + V to paste an image into it.
      2. If attachment field is not available on the transition screen, the image will not be uploaded when we paste it using CTRL + V.
      3. Once the comment posted, the pasted image will show as broken image icon due to its files did not upload into JIRA issue ticket.
      4. As a workaround, we need to include attachment field onto these transition screen to ensure the image successfully upload.

      Expected Results

      On first CTRL+V the Attach ScreenShot dialogue should appear and the copied image will be shown in the dialogue

      Actual Results

      Attach ScreenShot Dialogue randomly appears, if it appears at all. The following error message can be found in the Network Profiler

      SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
      

      Workaround

      Attach Image by either the Drag and Drop method or by clicking More > Attach File

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jconroy@atlassian.com Joshua Conroy (Inactive)
              Votes:
              32 Vote for this issue
              Watchers:
              54 Start watching this issue

              Dates

                Created:
                Updated: