Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Rest API for Code Insight Code Coverage for BitBucket Server 7


Is there an official Rest-API to add statement coverage information to an insight report? According to this overview, it should be possible:

However, I cannot find anything in the official documentation:

The only way I can add statement coverage is by using the unsupported plugin:

Thank you

1 answer

1 accepted

0 votes
Answer accepted
Kristy Atlassian Team May 26, 2020

Hi @bfierz

Code coverage has not been implemented as a core feature in Bitbucket Server yet. However, there is an API that can be consumed by plugins to provide this information.

The plugin you linked is one such plugin that consumes this API, and it was developed by Atlassian. However, as you mentioned it is not supported. You could also write your own plugin that uses the API, which can be found here.


Out of curiosity, what tool do you use for CI and code coverage? Its always useful to gather some customer feedback to help us prioritise features and develop the best solutions for you :)


Hope that helps.




Engineer on Bitbucket Server


we are using Jenkins for CI. As most of our work happens on windows we are using OpenCppCoverage for the job.

I was already successfully using the mentioned plugin on the 6.x series with a custom generator OpenCppCoverage, I will continue using this plugin in this case.

Thank you

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

525 views 6 4
Read article

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