Adding a comment results in a HTTP 302 Moved Temporarily message

I have the latest JIRA (5.1.2) and I've recently (about a week ago) upgraded from 4.4.3. The authentication is made against a Crowd instance with more than 100 users.

After the upgrade, one user started experiencing an issue. If he opens an issue, clicks on "Comment", writes something and then clicks "Add", the browser pops a message saying "This page is asking you to confirm that you want to leave - data you have entered may not be saved." and gives two options: "Stay on Page" (which doesn't post the comment) and "Leave Page" (which posts the comment and returns to the same page, focusing the newly added comment)

I've tested with Chrome, Firefox, IE, Safari and Opera. On Windows, Mac and Linux. All the browsers behave in the same way, except for Opera which is silent, but I think reacts the same.

Do you have any idea why it happens? Is there any setting in Crowd or in JIRA's User Profile settings that can influence the behaviour of adding comments just for 1 user?

One of the differences that I saw in the logs is that most (all?) of the users do this request when adding comments:

POST /jira/rest/api/2/issue/{issueid}/comment

while this one does:

POST /jira/secure/AddComment.jspa?atl_token={some long string}

Thanks!

3 answers

1 accepted

1 vote
Colin Goudie Community Champion Oct 24, 2012

I ran into this as well.

Looks like a JIRA bug that is now fixed in 5.1.4

https://jira.atlassian.com/browse/JRA-29626

A few days after I've posted this question, I've upgraded to 5.1.3 and the issue still happens from time to time. I'll upgrade to 5.1.4 or 5.2 soon enough and let you know if it fixes the problem. Thank you!

I've upgraded today to 5.2.7 and the issue has dissappeared. Thanks for the help Colin ;)

Hello Silvian,

Do you remember if the upgrade to 5.1.4 fixed the issue ?

I'm presently running on 5.1.8 and my customers are facing the issue. Unfortunately I can't upgrade to 5.2.X before a long time due to developement load for my several home made add-ons ...

Thanks for your feedback

William... I didn't upgrade to 5.1.4. I said I would upgrade to 5.1.4 or 5.2 and actually went from 5.1.3 directly to 5.2.7... No issues since then...

William... I didn't upgrade to 5.1.4. I said I would upgrade to 5.1.4 or 5.2 and actually went from 5.1.3 directly to 5.2.7... No issues since then...

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

154 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you