Github integration not work

Valentyn Serdiuk March 15, 2022

Hello, I installed GitHub for Compass and when trying to configure integration I get error like

Something went wrong

Disconnect this organization and try again

When I pressed disconnect button I got

There was an error invoking the function - Error calling unlinkExternalSource in graphql gateway. Error(s): Field 'cloudId' has coerced Null value for NonNull type 'ID!'

:-(

1 answer

1 accepted

1 vote
Answer accepted
Henry Olson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 15, 2022

Hi Valentyn, my name is Henry, and I'm an engineer on Compass. I'm sorry to hear the GitHub integration isn't working for you! Could you please send me your site name? I'll look up the cloudId and try to debug your issue.

Valentyn Serdiuk March 16, 2022

Hi Henry, thx, my id is rbiri

Henry Olson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 21, 2022

Hi Valentyn, sorry for the late reply. I've looked up your site and was able to find logs on our side, confirming the error you received on the 15th. Unfortunately, it's hard for me to tell from the logs alone exactly what happened - we can just tell that some data is not present in the context when it should be.

Could you try uninstall and reinstalling the GitHub app in Compass entirely? Even if this error occurs again, it should still uninstall the app and result in a cleared state.

Lastly, if you are comfortable with adding me to your Atlassian site as a Compass Admin, I can debug in closer detail: holson@atlassian.com

But no worries if that isn't a possibility for you. If you uninstall, reinstall, and try the flow again, I can at least see the new logs which should help give me more clarity if the issue persists.

Thanks,
Henry

Valentyn Serdiuk March 24, 2022

Hello, thx for answer, sorry it took me so long, I added you as admin to our Compass

Henry Olson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 24, 2022

No worries Valentyn, I've confirmed I have access and can reproduce the error on your site :) It'll take some more digging, but I'll get back to you as soon as I can with steps to move forward.

Henry Olson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 29, 2022

Hey again Valentyn! We have a strong suspicion that what’s going on is you’ve connected a personal GitHub account to Compass, which (unfortunately) is not yet supported. To get yourself out of this state, you can do the following:

  1. Go to https://github.com/settings/installations (make sure you are viewing your personal account settings)

  2. Click “Configure” next to Atlassian Compass

  3. At the bottom of the page, click the “Uninstall” button

After doing this, you should be able to return to the Apps page in Compass and configure GitHub to connect to an organizational (not personal) account.

Ideally we’d be supporting personal accounts (or at least providing better messaging when you have inadvertently connected one). In the meantime let me know how this goes, and if it solves your problem.

I'm also working on a bugfix so that the "Disconnect Organization" will work properly in Compass if you accidentally connect to a personal GH account.

Thanks!
Henry

Valentyn Serdiuk March 30, 2022

Hello, I didn't have Atlassian Compass in my personal account, I have Atlassian Cloud instead, must I remove it?

Henry Olson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 30, 2022

No need anymore, my bug fix went through and I was able to get your GitHub app back to the starting state :) You should now be able to connect it to a new organization (just make sure it's not a personal account).

Thanks again for reporting this issue, as it helped us catch an unhandled error state. Let me know if you have any other issues with the app!

Best,
Henry

Like Steffen Opel _Utoolity_ likes this
Valentyn Serdiuk April 5, 2022

Thx, I checked it today and yes, I'm now see on component page that repo is connected(no restriction errors), but when I go to github app configure page I see such error:

Something went wrong

Disconnect this organization and try again

Did you connect to a personal GitHub user account? Personal GitHub user accounts can't be connected to Compass. This app can only be installed for GitHub organizations and enterprise accounts.

 

And metrics didn't work :( you're still compass admin in our org if needed

Henry Olson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 5, 2022

Hi Valentyn, thanks for following up! I'll look into this further. Can you please link me to the Github organization you're trying to connect to?

We can also set up some time for a brief meeting to figure this out together, if you're up for it. 

Valentyn Serdiuk April 6, 2022

Hi, I'm sorry but I can't add you to our github org :( security won't approve anyone without NDA + contract. But for sure we can setup a call - you, me and our github org admin

Henry Olson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 6, 2022

No worries! I think a call would be the best way to move forward. Please send me an email at holson@atlassian.com and we can schedule a time to meet.

Here are some times that work for me (UTC-7):

  • Thursday, Apr 7th: 21:00 - 22:00
  • Friday, Apr 8th: 8:00 - 10:00
Valentyn Serdiuk April 7, 2022

Thx, scheduled Friday 8, 8:00-8:30 UTC-7 (18:00-18:30 UTC+3)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events