Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

If I paste a 2nd picture in the Portal, it overwrites the 1st picture

valantic FSA March 5, 2018

Hi, maybe it's a bug, but maybe I'm doing something wrong ;-) ...

If I paste a picture via crtl+c and crtl+v in the Portal and klicking on "Add" ("Hinzufügen") it will be added correctly to the ticket. If I do that again with a second picture, the first picture will be overwritten after a reload, so that i have the second picture two times. Any suggestions? ThankX a lot :-) ! 

 

image.png

Klicking "Add": .. everything is OK.

image.png

 

Adding the 2nd picture, and klicking "add" everything is OK too.:

 

image.png

After Reload: 1st picture is overwritten by the 2nd picture:

 

image.png

2 answers

0 votes
llagos
Contributor
September 13, 2018 edited

Just happened to me as well.. JSD v3.9.8... Very annoying. JSD should be smart enough to add a timestamp to each image which is pasted from clipboard. Not just one fixed name, as it seem it's doing... This is basic 101 functionality... I guess someone from the company should be watching this list and these comments, so please go back and fix this! Thanks

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2018

I think the problem here is the way these images are being added, and the method in which this happens.  So when you paste an image into Jira, by default it uses a filename such as 'image.jpg'.

The problem here is that when you then paste a different image with the same name, Jira does not have the proper means to differentiate between two files with the same name on the same issue when trying to display that image inside a comment.  Jira has to use a markup which tends to look something like this:

 !image.png|thumbnail!

The problem here is how is Jira supposed to understand which file with that name is supposed to be rendered here.   I believe that it is not technically overwriting the first image.  The way to confirm this though would be to look at this issue through the Jira main site (not via the customer portal).  I suspect that JSD Agents and Jira Core/Software users looking at this issue in the main Jira site will be able to see both attachments.

This is not as much of a problem outside of Service Desk. In Jira Core/Software issues, users can still see all the attachments on the issue under the attachments section.   But for Service Desk, customers can't see images unless these are referenced in the comments via the wiki markup syntax.

There is an existing documented bug on this problem in https://jira.atlassian.com/browse/JRASERVER-2169.

I realize this is not an ideal solution, but I would recommend that if you need to attach more than one screenshot in the same issue of Jira, to instead save these as image files on your system first and give them uniquely different filenames before you upload them to Jira.

Since you cannot edit the filename of an attachment on an existing Jira case, this looks to be the only way to avoid this problem when it comes to Service Desk.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events