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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

/plan/{projectKey}-{buildKey}/vcsBranches returns VcsBranch detection not available for Plan Branch

I am using the API calls described in the above answer to get vcsBranches and the following error appears when i run it.

can anyone please let me know how to rectify this, i want to get the vcsbranches for the plan before running it. 


curl -u [USERNAME] -p -H "Content-Type: application/json" -X GET [BAMBOO-BASE-URL]/rest/api/latest/plan/[PROJECT-KEY]-[PLAN-KEY]/vcsBranches


{"message":"VcsBranch detection not available for Plan Branch","status-code":400}

1 answer

0 votes

You see this error because  [PROJECT-KEY]-[PLAN-KEY] used in request points to plan branch, but should point to "master" plan

thanks for your response. 

i see branches if i just query the master plan. 

but i need to see the Repository branch for a specify Branch plan not the master plan. 

here is the snap of what i am looking for 


I'm afraid there's no REST endpoint to get this information for plan branch.

But you can try to get this info from plan branch build result, it's at metadata values

Suggest an answer

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

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

513 views 5 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