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

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

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?


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.

Sorry for necroposting.

What do you mean by "create the OAuth token under the Organization, not your User. "? You can't impersonate groups in gitlab.

Suggest an answer

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

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

545 views 15 18
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