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

Accepted Answer
0 votes

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
Published 4 hours ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

44 views 0 4
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