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

how to add custom report in Bamboo?

Andrei Markov April 16, 2013

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
Answer accepted
Andrei Markov April 25, 2013

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
Felipe Kraemer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 17, 2013

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

Andrei Markov April 17, 2013

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
TAGS
AUG Leaders

Atlassian Community Events