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

Rewriting Bamboo plugin - replace BuildDefinition.getRepository() method


We're trying to finalize the upgrade of our Bamboo environment from 2.6.2 to the latest version of Bamboo. Everything works fine in our new test environment except for a custom made plugin that made use of some methods and classes that got deprecated since then.

We make use of the BuildPlanDefinition interface. This got deprecated and we replaced it with BuildDefinition as documented in the API. That's fine, but we also made use of the getRepository() method within this interface. Since, 3.3 this method disappeared from the API and in some other methods, I read: 'since 3.3 obsolete due to introduction of Multiple Repositories' but it is nowhere indicated which methods I should make use of.

Can you help us out what we can do to get the repository out of our plans in our custom plugin? It's not clear how to use these Multiple Repositories in the API or how our code should be rewritten starting from the deprecated getRepository method...

Thanks for your help,


1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes

You might be looking for 


I assume you've downloaded Bamboo sources and you can browse them to get more details?

Would you mind sharing some details on what your plugin does? I might be able to point you to some concrete examples in Bamboo.

Community showcase
Posted in Europe

Christian Reichert, Björn Döhler, re:solution: Video and Slides online

Not one, but two f***ing legends busting myths about passwords and user management. From left to right: Christian Reichert and Björn Döhler from re:solution going on a grand tour. Video here:  h...

13 views 0 1
View post

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