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

0 votes
Accepted answer

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 votes

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
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

185 views 4 1
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