Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding teammate breaks sync with "Could not find referenced Team" #104

Open
dmontagu opened this issue Jun 16, 2023 · 3 comments
Open

Adding teammate breaks sync with "Could not find referenced Team" #104

dmontagu opened this issue Jun 16, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@dmontagu
Copy link

We are trying to set it up so that multiple different users can add the "linear" label to issues on GitHub, and get it to create a sync'ed issue in Linear.

If I delete all syncs and clear out the webhooks on GitHub and Linear, then reconfigure from scratch through synclinear.com, everything works for (just) me — I can label issues as "Public" on Linear, or "linear" on GitHub, and get synchronization.

However, even after I have configured the synchronization, it doesn't work when any other users try to add the "linear" label on GitHub.

I had one user authorize synclinear with his GitHub account, and here is the response of the webhook installed in the repo when he tried to trigger it immediately afterward:
image


So, we then had him create a synchronization between the relevant Linear team and GitHub repository (which I had also already configured), and after he did that, when either of us tries to add the "linear" label to a GitHub issue, we get the following response:

image

I can clear everything out and get it working for just my account again, but is there any way we can get this to work for multiple users simultaneously? Sorry if we missed something and are not going through the configuration process properly.

@maige-app maige-app bot added the bug Something isn't working label Jun 16, 2023
@tedspare
Copy link
Collaborator

tedspare commented Jul 2, 2023

Thanks for isolating this, @dmontagu - sorry for the late reply.

The final configuration you described is as intended (each team member chooses the team + repo to synchronize). Sometimes the webhook secret fails to update after re-syncing.

Could you get in touch with me privately to reset the webhook secret?

@tedspare tedspare changed the title Can't set up GitHub -> Linear sync for multiple users Adding teammate breaks sync with "Could not find referenced Team" Jul 11, 2023
@cmrlp
Copy link

cmrlp commented Sep 10, 2023

@tedspare to clarify -- does linearsync now only work for one user to create issues from github and send them to linear on a repo <-> team basis?

Back in April, we had this running more or less fine, and our entire team could create issues in github, and see them pop up in linear. After upgrading our self-hosted instance, it now only works for me, and it ignores any of my team member's new issues

@xiaofei-du
Copy link

@tedspare to clarify -- does linearsync now only work for one user to create issues from github and send them to linear on a repo <-> team basis?

I have the same question. I made it work for myself (create on GitHub, and synced to Linear). Then, my team member configured by chosing the team + repo to synchronize on his side, now we encountered the 403 error. Even I can't create an issue on GitHub and get it synced on Linear.

{"success":false,"message":"GitHub webhook secret doesn't match up."}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants