Duplicate entries of a comment in Jira

Petra Goldstein June 30, 2015

Hi,

Sometimes when entering comments in an issue, Jira registers multiple instances of that comment, as if it were entered multiple times in rapid succession. It also sends out notifications for each one of those. 

Typically 2-3 entries. I have seen an instance of 7 (seven) entries with the same timestamp. 

Has anyone seen this? Where would I even start looking?

JIRA server 6.3.1

Thanks,

Mike

PS I do NOT believe this is related to the only similar issue I have found reported that talks about double clicks. 

7 answers

0 votes
Henry Auffahrt September 13, 2018

We have the same issue with duplicates comments, but as far as I can see it´s only a presentation error. Because I have only one button to delete the comment.

Screen Shot 2018-09-14 at 07.11.38.png

Henry Auffahrt October 10, 2018
0 votes
Jiri Klouda April 6, 2016

I have figured out the cause of this issue. In atlassian-jira-outgoing-emails.log there is an exception entry for each email that is being resent. The email is sent and accepted by the mail server, but the response timeouts and JIRA will resend the email causing duplicates.

In "Administration -> System -> Outgoing Email -> Default SMTP Server -> Edit -> SMTP Host -> Timeout" I have changed the default value 10000 ms (10s) to 30s. This should largely solve the issue. If not, increase the timeout even further until those exceptions disappear.

 

2016-04-05 14:21:20,732 ERROR [Jira (Production)] Sending mailitem ....
com.atlassian.mail.MailException: javax.mail.MessagingException: Exception reading response;
  nested exception is:
        java.net.SocketTimeoutException: Read timed out
        at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:213)
        at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44)

Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.net.SocketInputStream.read(Unknown Source)
        at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110)

 

 

Dave Gunn February 5, 2018

Does anyone have a solution for this?  Hopefully not an add-on or involving long strings of SQL code. :)

Dave Gunn February 5, 2018

Changing the timeouts hasn't done it.  I changed it to 7 seconds.

Steve Kane July 25, 2018

I am seeing this for the first time after upgrading to JIRA 7.9 from < 7.3.

Amy Biasella
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 10, 2018

Same, seeing this after an upgrade from 7.4 to 7.11.

0 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 8, 2015

You can always create an "Improvement" or "New feature" in support.atlassian.com

0 votes
Operations Department September 8, 2015

I also see this problem - and indeed it is because the user accidentally clicks the Add Comment button multiple times. This especially happens when the ajax call is slow and the user hasn't gotten feedback that the click was accepted. Is there a way, or would it be possible, to disable the button after it has already been clicked until after the ajax call has been processed. Obviously feedback to the user would be great.

0 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2015

Sometimes it's the browser, sending multiple post sessions at a single click. Futhermore, It can be an add-on or javascript that may have affect this post behaviour. Browser add-on or JIRA add-on. This multiple comment happened to me, i think 2 or 3 times. Usually it's because of my mouse (double clicked by itself) coupled with a network latency during the click.

0 votes
Petra Goldstein July 1, 2015

From what I can see the two users I am tracking on this matter are using chrome (access_log). Generally we have found that Chrome and FF are way less quirky than IE with Atlassian products. It will be hard to qualify which browsers are used w.r.t. this issue until we collect more data. Also, we don't know how to reproduce it, so its a waiting game. Thanks, Mike

0 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2015

Is this happening on all browsers? All users?

Suggest an answer

Log in or Sign up to answer