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

Allow mixed-media pastes (text + images) from clipboard in comments/description

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

      Issue Summary

      When we copy a text that contains images in the body and then paste it as a comment or to the description field , the attachments are also uploaded but it shows "Preview unavailable" and if we click on "Save" it shows "Fail to load" for the attachment.
      It seems, the image is not getting copied from the preview as the preview is a thumbnail and not the actual file. So, we need to copy it separately and paste as required.

      Steps to Reproduce

      1. Copy text that contains images (we must use CTRL or Command + A) (I used this one)
      2. Paste the text on the comment box.

      Shared the screen capture video for better understanding.

      Expected Results

      The attachments are added in the comment and it should load.

      Actual Results

      The attachments are added in the comment and it fails to load.

      Workaround

      Copy the text and image separately in full view.

            [JRACLOUD-71695] Allow mixed-media pastes (text + images) from clipboard in comments/description

            Hi I have this issue as well. When can we expect to get it resolved?

            andrew.depiante@gm.com added a comment - Hi I have this issue as well. When can we expect to get it resolved?

            In Outlook for Microsoft 365 Apps for Enterprise, when I copy text and image data and try to paste this into a comment in a ITSM or ITSD ticket, the text will paste but the image is left out.  No placeholder, nothing.  It just doesn't paste.

            If I paste the same items that are still in the clipboard into Microsoft Word, then "Select all" and "Copy" again, the same thing happens, the text pastes but the image is not there.

            If I then copy JUST the image, and paste, it will paste the image.  I have to hunt and peck to find where all the images were in my email and cut and paste each one individually in the correct spots to match my email.

            Whatever is captured to the clipboard from Outlook email is a different format when you just copy an image by itself. The clipboard data that is captured from word and somehow Jira knows the difference and it works with JUST the image.

            I hope this helps.  This issue has been lingering for WAY to long.

            Jason Cantrell added a comment - In Outlook for Microsoft 365 Apps for Enterprise, when I copy text and image data and try to paste this into a comment in a ITSM or ITSD ticket, the text will paste but the image is left out.  No placeholder, nothing.  It just doesn't paste. If I paste the same items that are still in the clipboard into Microsoft Word, then "Select all" and "Copy" again, the same thing happens, the text pastes but the image is not there. If I then copy JUST the image, and paste, it will paste the image.  I have to hunt and peck to find where all the images were in my email and cut and paste each one individually in the correct spots to match my email. Whatever is captured to the clipboard from Outlook email is a different format when you just copy an image by itself. The clipboard data that is captured from word and somehow Jira knows the difference and it works with JUST the image. I hope this helps.  This issue has been lingering for WAY to long.

            Stefan Tichelaar added a comment - - edited

            Raised in 2019 and still gathering interest after +5 years????

            Basic copy and paste from other sources (e.g. Word, Teams) is still broken.

             

            <sarcasm>Well at least Atlassian prioritized emojis. And tickets are now called "Work"... Thank god for that....</sarcasm>

             

            Stefan Tichelaar added a comment - - edited Raised in 2019 and still gathering interest after +5 years???? Basic copy and paste from other sources (e.g. Word, Teams) is still broken.   <sarcasm>Well at least Atlassian prioritized emojis. And tickets are now called "Work"... Thank god for that....</sarcasm>  

            Would really benefit from this fix as it would save time and help keep focus while working tickets with images.

            Scott Thurston added a comment - Would really benefit from this fix as it would save time and help keep focus while working tickets with images.

            61798e2e779e  the image in your comment is not visible.

            David Hollman added a comment - 61798e2e779e   the image in your comment is not visible.

            Shouldnt this ticket be closed.  It works for me here..

            Gwendylene Enow-Tanyi added a comment - Shouldnt this ticket be closed.  It works for me here..

            Of course my prior comment rendered perfectly before I pressed the button to submit it but they are all broken afterwards because irony.

            David Hollman added a comment - Of course my prior comment rendered perfectly before I pressed the button to submit it but they are all broken afterwards because irony.

            David Hollman added a comment - - edited

            To some extent Jira seems to be very picky about exactly what clipboard format(s) are available; and other applications also can be inconsistent.

            Here are some details from Outlook in case that is useful.


             

            Example 1... in Outlook (desktop) if I am in VIEW mode for an email and select an image, it renders as follows:

            (compare the handles to example 2 below)

             

            If I then right-click to copy that image, Nirsoft InsideClipboard shows this:

            Format ID Format Name Handle Type Size Index
            2 CF_BITMAP Bitmap 0 15
            3 CF_METAFILEPICT Metafile 0 5
            8 CF_DIB Null 0 14
            14 CF_ENHMETAFILE Enhanced metafile 0 4
            49163 Embed Source Storage 0 16
            49166 Object Descriptor Memory 194 1
            49313 Rich Text Format Memory 3,459,375 2
            49348 GIF Stream 109,082 8
            49349 JFIF Stream 70,611 7
            49350 PNG Stream 451,001 6
            49441 HTML Format Memory 39,875 3
            49742 Office Drawing Shape Format Stream 373,484 13
            49743 GIF+Office Art Stream 484,071 11
            49744 JFIF+Office Art Null 0 12
            49745 PNG+Office Art Stream 824,479 10
            49817 ActiveClipBoard Memory 11,296 9

             

            Result: Jira is NOT able to paste a usable image in this case.

             


            Example 2: If I reply to that email and thus am in EDIT mode, the same image when selected looks as follows:

            (different handles / adornments)

             

            Copying it, Outlook then puts somewhat different formats on the clipboard:

            Format ID Format Name Handle Type Size Index
            2 CF_BITMAP Bitmap 0 6
            3 CF_METAFILEPICT Metafile 0 5
            14 CF_ENHMETAFILE Enhanced metafile 0 4
            49166 Object Descriptor Memory 148 8
            49348 GIF Stream 241,176 3
            49349 JFIF Stream 148,772 7
            49350 PNG Stream 1,242,100 2
            49464 image/svg+xml Stream 117,455 9
            49753 Art::GVML ClipFormat Stream 363,996 1

             

            Result: Jira IS able to paste a usable image in this scenario.


             

             

            David Hollman added a comment - - edited To some extent Jira seems to be very picky about exactly what clipboard format(s) are available; and other applications also can be inconsistent. Here are some details from Outlook in case that is useful.   Example 1 ... in Outlook (desktop) if I am in VIEW mode for an email and select an image, it renders as follows: (compare the handles to example 2 below)   If I then right-click to copy that image, Nirsoft  InsideClipboard shows this: Format ID Format Name Handle Type Size Index 2 CF_BITMAP Bitmap 0 15 3 CF_METAFILEPICT Metafile 0 5 8 CF_DIB Null 0 14 14 CF_ENHMETAFILE Enhanced metafile 0 4 49163 Embed Source Storage 0 16 49166 Object Descriptor Memory 194 1 49313 Rich Text Format Memory 3,459,375 2 49348 GIF Stream 109,082 8 49349 JFIF Stream 70,611 7 49350 PNG Stream 451,001 6 49441 HTML Format Memory 39,875 3 49742 Office Drawing Shape Format Stream 373,484 13 49743 GIF+Office Art Stream 484,071 11 49744 JFIF+Office Art Null 0 12 49745 PNG+Office Art Stream 824,479 10 49817 ActiveClipBoard Memory 11,296 9   Result: Jira is NOT able to paste a usable image in this case.   Example 2: If I reply to that email and thus am in EDIT mode, the same image when selected looks as follows: (different handles / adornments)   Copying it, Outlook then puts somewhat different formats on the clipboard: Format ID Format Name Handle Type Size Index 2 CF_BITMAP Bitmap 0 6 3 CF_METAFILEPICT Metafile 0 5 14 CF_ENHMETAFILE Enhanced metafile 0 4 49166 Object Descriptor Memory 148 8 49348 GIF Stream 241,176 3 49349 JFIF Stream 148,772 7 49350 PNG Stream 1,242,100 2 49464 image/svg+xml Stream 117,455 9 49753 Art::GVML ClipFormat Stream 363,996 1   Result: Jira IS able to paste a usable image in this scenario.    

            Tim Dadd added a comment -

            We have an application that generates HTML reports that consist of text and embedded images (not linked images). The Image formats on the report can be SVG, PNG, JPG or WEBP.

            A copy button on the page runs a very simple javascript that copies the report part of the web page to the clipboard for paste elsewhere.

            For MS-OFFICE and other applications the paste includes the images.  But when we paste to a confluence page the images are lost.  We have to go to each image on the HTML page right click copy, find the location of the missing image on the confluence page and press ctrl+v..  In the original copy/paste if the image type is SVG we get the text within the SVG but not the SVG itself.

            If copy/paste works for WORD et al then why isn't it working for Confluence.  What is the strategy for confluence?  Is it a replacement for something like WORD or just a tool for small BLOG type pages?  It seems that the collaborative feature of confluence for discussing a page originally generated elsewhere is not so easy.

            Tim Dadd added a comment - We have an application that generates HTML reports that consist of text and embedded images ( not linked images). The Image formats on the report can be SVG, PNG, JPG or WEBP. A copy button on the page runs a very simple javascript that copies the report part of the web page to the clipboard for paste elsewhere. For MS-OFFICE and other applications the paste includes the images.  But when we paste to a confluence page the images are lost.  We have to go to each image on the HTML page right click copy, find the location of the missing image on the confluence page and press ctrl+v..  In the original copy/paste if the image type is SVG we get the text within the SVG but not the SVG itself. If copy/paste works for WORD et al then why isn't it working for Confluence.  What is the strategy for confluence?  Is it a replacement for something like WORD or just a tool for small BLOG type pages?  It seems that the collaborative feature of confluence for discussing a page originally generated elsewhere is not so easy.

            This is still a key problem. Most issues require cut and pasting of a mix of text and image contents for analysis tickets, dev, testing etc. It seem unbelievable that one cant just cut and paste

            Simon Orford added a comment - This is still a key problem. Most issues require cut and pasting of a mix of text and image contents for analysis tickets, dev, testing etc. It seem unbelievable that one cant just cut and paste

              Unassigned Unassigned
              deads@atlassian.com Daniel Eads
              Votes:
              226 Vote for this issue
              Watchers:
              144 Start watching this issue

                Created:
                Updated: