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

Is there an alternative of .linkedRepositories() to give actual Repo path in Java Specs? Edited

I'm using "View plan as Java Specs" to generate Specs for my plan.

There, I'm getting .linkedRepositories() method which has my defined Repo.

I actually want to pass the path/credential of my Github repo in place of defined repository. 

 

1 answer

1 vote

Hi @Parth Jeet

Currently (Bamboo 6.8 and older versions) it is not possible to create linked repositories from JAVA specs. What you can do is creating a plan repository.

You can see more details about this and some examples of code here: Bamboo Java Specs Reference - Repositories

If you want to generate a full code example for your instance on creating a GitHub plan repository, please try:

  1. Create a dummy plan
  2. Add it a GitHub repository as you which
  3. View plan as java specs to check the code

Please let me know if that helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

665 views 2 7
Read article

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