Can't link to my Github account: shows "no repositories"

I initially successfully linked my JIRA account to Github, but I ticked "import new repositories automatically", which is not what I wanted, so I figured the easiest was to delete the link and create it again.

Now it doesn't work any more.

When I try to link my Github account, after sending me to the Github site for authorization, Jira says "Failed adding the account: [Error retrieving list of repositories]". When I click on "Try again", it says "Account is already integrated with JIRA." Then my Github organization appears, but underneath it says "No repositories".

I triple-checked that I'm using the right client id/secret. I even deleted the Github app and created a new one and re-tried the whole process, to no avail.

Looks like the link between JIRA and Github wasn't properly deleted the first time...

What can I do?

Thanks

1 answer

I just hit this - go back and re-create the DVCS connection using the Organization Name as the team name, and create the OAuth token under the Organization, not your User.  Do it from your ORG settings, not your USER settings.  Then it works as advertised.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

285 views 0 12
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot