Problem linking GitHub and JIRA

I keep getting the "Unable to link selected repository. Do you have administrator permissions on the {GitHub|Bitbucket} repository you are attempting to sync?" message when trying to link our company GitHub account to JIRA.

I am the administrator. Private and public repositories are listed. The public repositories can be linked without a problem.

2 answers

1 accepted

Accepted Answer
0 votes

Thank you Immanuel.

I am the administrator and I was logged into GitHub. Unfortunately, there is no separate login for organization in GitHub. While I was able to see both my and company repositories, linking only worked for my own repositories not for company repositories.

I was able to fix that later by clicking "Re-generate OAuth Access Token" option:

Menu

Hi Roustem,

There is an existing article which shows similar exception as yours: https://confluence.atlassian.com/display/JIRAKB/Unable+to+Connect+to+a+Private+Repository+using+the+DVCS+Plugin

Basically, you will also need to login to Github (as the administrator to the repo) on the same browser as JIRA. Can you confirm whether you have logged in?

Cheers,

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,103 views 2 7
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