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!'
:-(
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, thx for answer, sorry it took me so long, I added you as admin to our Compass
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
Go to https://github.com/settings/installations (make sure you are viewing your personal account settings)
Click “Configure” next to Atlassian Compass
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, I didn't have Atlassian Compass in my personal account, I have Atlassian Cloud instead, must I remove it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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):
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thx, scheduled Friday 8, 8:00-8:30 UTC-7 (18:00-18:30 UTC+3)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.