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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday 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...

146 views 1 3
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