how to add custom report in Bamboo?

I would like to write a custom report for Bamboo (4.4.4 if it matters). Where do I start? Does it have to be in Java? Where can I find all interfaces I can query to get data? This link doesn't give me much to work on and this is all I could find so far:

https://developer.atlassian.com/display/BAMBOODEV/Report+Module

I would like to write some like:

- agent daily usage for a specified period

- average queue length per platform (it's a requirent defined in our jobs)

- average wait time per job type (again, based on req)

Any ideas?

2 answers

1 accepted

Until such time when I find bandwidth to learn how to write proper plugins I resorted to writing these reports by reading data directly from DB. The catch of course is that DB schema may change in the future but it was the fastest way for me to get necessary reports. I can now report how much time each agent was used each day and paint red underused ones in excel cells.

0 vote

Hi Andrei,

The custom report must be written in Java, and you can use the REST API in order to retrieve data from the Bamboo instance and use it in your report:

http://docs.atlassian.com/atlassian-bamboo/REST/3.3-SNAPSHOT/

You may find these links useful:

https://developer.atlassian.com/display/BAMBOODEV/Bamboo+REST+APIs

https://developer.atlassian.com/display/BAMBOODEV/Using+the+Bamboo+REST+APIs

Actually I meant a plugin style of report. Then I guess I would use a different set of APIs?

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
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,317 views 0 5
Read article

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