Cannot post comments to some pull requests

We have just installed bitbucket and JIRA for the first time on our server. Pull requests are showing a few odd behaviours. 

1. We are unable to comment on some pull requests. Code-line comments work fine, but the top level comment tool will time out for some users, posting "The server didn't respond. You may retry your request when the server comes back up."

Looking at the bitbucket server log, we see two side-by-side log messages that are seemingly related, where I've obscured the project name and user data:

 

2017-05-18 14:43:58,013 DEBUG [http-nio-7990-exec-3199] <usrname and identification ip> "POST /rest/api/latest/projects/<projectname>/repos/<reponame>/pull-requests/2/comments HTTP/1.1" c.a.s.i.e.TransactionAwareEventPublisher Deferring publishing for PullRequestCommentAddedEvent until AFTER_COMMIT

2017-05-18 14:43:58,014 DEBUG [http-nio-7990-exec-3199] <usrname and identification ip> "POST /rest/api/latest/projects/<projectname>/repos/<reponame>/pull-requests/2/comments HTTP/1.1" c.a.s.i.e.TransactionAwareEventPublisher Deferring publishing for PullRequestCommentActivityEvent until AFTER_COMMIT


This seems very odd to me. What is this 'deferal until "AFTER_COMMIT"?

2. We have a second issue with pull requests. I bring it up here, not to fork and try to ask two questions at once, but because it could be a related problem.  Our pull requests are not updating to show later commits. Any commit which occured after the PR doesn't list.  The problematic comment posting may be only on PRs that have this second issue, but we haven't exhaustively tested yet.

 

Any ideas?

1 answer

1 accepted

This widget could not be displayed.

Upgrade to 5.0.1 solves both issues.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

229 views 14 2
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