Bitbucket Integration with Visual Studio 2017 - Can't get branch from remote

We have an on-prem  Bitbucket server and on-Prem JIRA server. I am using Visual Studio 2017 on my dev machine. I created a brach in a JIRA ticket. I have the Vicual Studio Bitbucket Extension by NextIteration, v 1.36 installed and I can log in to the on-prem Bitbucket server in Team Explorer and I can clone the Master for my project to the local repo. 

However, what I want is the branch I created in JIRA.

In Visual Studio Team Explorer, when I go to the Branches section, I can see the remote/origin link and when I expand it, I can see the JIRA created branch. However, If I select the branch, right-click and choose  "Checkout" or "New Local Branch From...", I get an error stating that " Specified argument was out of the range of valid values.
Parameter name: count"

What am I missing here?

 

Thanks in advance for any help.

 

1 answer

1 accepted

1 vote

Hi David,

It looks like Visual Studo Pro may need to do a git pull and be restarted to pick up the new branch.

 

When you create the branch in jira, Bitbucket makes the branch succesfully. The client needs to do a git pull to get the reference to the new branch. Try that and let me know the results.

 

Cheers,

 

Branden

I used Tower to do a pull for the branch and then I was able to see the branch in VS. 

It would be nice if I could do the pull within VS

 

Thanks,

 

Dave

 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

21,853 views 26 11
Join discussion

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