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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How to get Clover results through REST API

 I am having lots of success using the REST API for the metrics I need to generate except for one key piece. I need to get the CLOVER results from the REST API. However, I cannot find any documentation on this and Google has not been useful at all. At a minimum, we need to get the Total Coverage information. Any help is greatly appreciated.

1 answer

Hi Timothy,

I assume that you're referring to Bamboo REST API. 

Clover publishes several metrics as metadata properties for a build result, named:





You can fetch these values via build result REST endpoint:

GET /result/{projectKey}-{buildKey}/{buildNumber}

See more details here: 

I expanded my build get api result metadata as below and no Clover statistics are shown. How do I get  clover stats as a json response ?


<metadata start-index="0" max-result="10" size="10"><item key="buildTimeStamp" value="2020-08-29T12:35:40.400+05:30"/><item key="ManualBuildTriggerReason.userName" value="prash"/><item key="" value="E:\Softwares\bamboo-home\temp"/><item key="bamboo.system.getTestsToPass" value=""/><item key="" value="E:\Softwares\bamboo-home\xml-data\build-dir\TKLOG-TKLOG-JOB1"/><item key="buildKey" value="TKLOG-TKLOG-JOB1"/><item key="" value="E:\Softwares\bamboo-home\xml-data\build-dir\TKLOG-TKLOG-JOB1"/><item key="" value="E:\Softwares\bamboo-home\xml-data\build-dir\_hg-repositories-cache"/><item key="buildNumber" value="3"/><item key="" value="E:\Softwares\bamboo-home\xml-data\build-dir\_git-repositories-cache"/></metadata>

Do you see Clover's statistics in Bamboo UI? Did you build with Clover succeed? Do you see clover.xml coverage file generated by Clover?

I see the clover.xml locally. I have manually configured the plugin for openclover in my pom.xml. I'm not seeing the Clover tab or the Clover metadata in the build log rest API call.

Select the 'I already integrated a code coverage tool in this job' and provide path to your clover.xml file. See 

Suggest an answer

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

📹 What is a Trello board?

Hi, Atlassian Community! My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Tre...

2 views 0 2
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