Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-20860

same file name dropped creates attachment link in comment with wrong file name

      Issue Summary

      same file name dropped creates attachment link in comment with wrong file name

      Steps to Reproduce

      1. Create new Issue
      2. Create Comment to issue
      3. Add an attachment to the issue with Drag and Drop (img 1.png) : screenshot comment.png
      4. Create another Comment
      5. Attach same file to the issue with Drag and Drop (again img 1.png): screenshot comment_1.png

      Version Details : screenshot plugin version
      Actual Jira Version - v8.13.3#813003-sha1:22ebedb
      Jira Drag and Drop Attachment Plugin - 5.0.9

      Expected Results

      It is expected that two files with the names img 1.png, img 1-1.png will be loaded, and links to the files will be visible in the comments.

      Actual Results

      Two files are loaded with the names img 1.png, img 1-1.png
      But in the comments, a link to the file name is always inserted img 1.png.
      From the pop-up messages at the top right, you can see that the file is being downloaded with a new name.

      Workaround

      As a short term fix:

      • Modify the comment manually to choose the new attachment
      • Use different file names while adding attachments to the Jira issue

        1. comment_1.png
          174 kB
          Shashi Shankar
        2. comment.png
          185 kB
          Shashi Shankar
        3. plugin_version.png
          60 kB
          Shashi Shankar

            [JSWSERVER-20860] same file name dropped creates attachment link in comment with wrong file name

            Huge issue since this also affects service management email requests when our customers open issues and comment via mail.
            Many of our tickets have screenshots like "image001.png" and when the customers comment with another and different screenshot later on "image001-01.png" the first and older one will be displayed in his new comment instead.

             

            Deleted Account (Inactive) added a comment - - edited Huge issue since this also affects service management email requests when our customers open issues and comment via mail. Many of our tickets have screenshots like "image001.png" and when the customers comment with another and different screenshot later on "image001-01.png" the first and older one will be displayed in his new comment instead.  

            Steve H added a comment -

            I'm not convinced it is minor - It's a pretty major issue if you are writing a report based on screenshots added to the ticket and you write it completely wrong because you're working to different specifications

            Steve H added a comment - I'm not convinced it is minor - It's a pretty major issue if you are writing a report based on screenshots added to the ticket and you write it completely wrong because you're working to different specifications

              Unassigned Unassigned
              sshankar@atlassian.com Shashi Shankar (Inactive)
              Affected customers:
              14 This affects my team
              Watchers:
              18 Start watching this issue

                Created:
                Updated: