Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Code Insights merge checking fail Edited

I implemented Code Insights result (ESLint report) as parameter to do merge checking and it shows that I do not have any errors of warnings regarding ESLint report, see picture below:


However, it said that one issue prevents me from merging the PR due to 'Report 'ESLint report' has not passed' which exactly strange since I do not have any error or so (Please neglect the other issues preventing me from merging the PR):


Moreover, I did put the correct report key on Project settings > Code Insights console such that: 



I wonder if I am missing something here since I followed all the steps shown here:

I am using Bitbucket 7.1.4 here and I could use some help here :)

Steps I've already done: 

- Change the Annotations requirements, all gives the same result

- Check the console output on the build and make sure if the report correctly posted

Thanks in advance!



1 answer

1 accepted

0 votes
Answer accepted
Kristy Atlassian Team Jul 19, 2020

It seems that your code insight post doesn't have a 'result' field on the create report request. Otherwise it would show a "Passed" lozenge in the sidebar of that dialog.

For example, it would look like this:

Screen Shot 2020-07-20 at 10.26.22 am.png


What is the JSON payload that you are sending to Bitbucket Server? Does it have a 'result' field?


thank you for the clear and insightful answer. I have checked the JSON payload and it is accurately missing 'result' field. It might be good to add this as well in here: since I follow this really nice tutorial (Perhaps add this 'result' field in order to apply additional 'merge check' based on Code Insights result). In any case, the problem is now solved in my case :)

Kind regards

Like Kristy likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

86 views 0 2
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you