-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Support connecting multiple Slack workspaces #1414
Comments
Maybe it's a limitation of self-hosted vs. SaaS? I've dropped a line internally with the Ecosystem team to see if they can shed light. |
@chadwhitacre any updates from the team? |
I'm also trying to do add more workspaces. Once I had the first workspace working, I tried to add a second one by replacing
But it broke the first workspace. Can you confirm if this is a self-hosted limitation? Thanks. |
just FYI - you cannot use the full functionality of slack with multiple workspaces, like "mark an issue as resolved inside slack", but at least you can enable slack-notifications to multiple slack-workspaces, it´s a hack and it´s very sad, that nobody thought about supporting multiple workspaces. it makes no sense having multiple "organizations" in sentry but only being able to use one slack workspace ;) usually every organization has it´s own slack workspace (of course). so here´s the simple hack, similar to what @ngatti-asso explained: (1)
(2)
(3) with this, you will get: for (1) you will have the full functionality with slack:
with (2) you will "only" have:
better than nothing 😕 |
I confirm that @michabbb setup is working as detailed. It's enough for my current needs as I only needed to send slack notifications to different workspaces. Thank you! |
anyway... I am bagging the sentry team to overthink this whole concept 🙏 there shouldn´t be any technical no-gos, because slack push notifications (that go to sentry) should include all necessary data, so that sentry should be 100% able to identify which workspace is talking here and which issue inside sentry is going to be triggered. it may sound trivial from my point of view, but having a sentry config like:
and request URLs like:
maybe could do the trick... just a naive suggestion 😏 |
I dropped another line internally (hopefully in a better channel now 😅) ... sorry this is falling through the cracks a bit, glad @ngatti-asso has at least joined you here @michabbb. 😁 |
@chadwhitacre @michabbb So the issue has to do with how apps are published. Since Sentry is a published app for Slack, anyone can install it to any workspace. But since your internal app is not published, you can only install it on the workspace it was created on. So the text you see is correct for SaaS Sentry but not correct for self-hosted in that self-hosted Sentry can only connect to one Slack workspace. |
@scefali i don´t see any reason why someone should have done this by purpose. that makes absolutely no sense. is this done as a wanted limitation to force people into SaaS ? 🤔 and again: technically there is no reason and no problem (in my eyes) to make this working with multiple slack workspaces, the design concept here is just "wrong". having only one "slack.client-id" and only one "request URL" is the main problem here and could easily be solved (I hope) with a suggestion like I made. again, I don´t know the internals, but if this is not done with the intention to push people into SassS, this should be "fixed", because having multiple organizations but only one workspace, is against every business logic. |
It does appear that Sentry assumes it will be talking to a single app, so we should tweak some documentation at the very least. @michabbb Can you publish your app? I am not familiar with Slack's review process—is this an option? |
@chadwhitacre first: i strongly hope, that a fix is not seen as "changing the documentation" 😂 that wouldn´t solve the "failed by concept" problem here 😏 secondly: what do you mean with "publish your app" ? every workspace owner just creates a "custom app" as explained in the docs. that is not a "official published" app. it´s a "custom app, only available inside your workspace". and that is the point. every slack workspace owner is able to create this app, as he likes. everybody is able to choose his own name, logo... whatever. but sentry currently is false designed by that fact, that there is only one because of the usually, when you connect something with slack, you see a drop-down in the top right where you can choose, which slack-workspace you want to connect, but this is excluded in the first place here: and because - I guess - sentry only allows "one request/callback URL" - there is currently no chance to distinguish between different workspaces. again: slack-ids and request-urls should be arrays, and when trying to connect to slack - sentry should ask you, based on the number of workspaces you have setup in the sentry-config, to which workspace you want to connect and then sentry can - as it´s working right now - create a specific login-url for a specific workspace 😏 |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
@chadwhitacre can u please give us an update here? I really hope the team understands, that sentry, doesn't matter, if self hosted or SaaS, needs to be able to work with multiple slack workspaces together, to make sentry useful when it comes to using multiple organizations, otherwise the whole slack thing is quite useless. 😕 |
Putting this on the backlog so the bot won't close. Best I can do for now. |
hi, Does everyone have any success in connecting Sentry instance to several Slack workspaces? |
@vbezruchkin as already explained, there is a hack where the 2nd (or more) workspaces only can receive sentry notifications, but slack is not able to talk back. @chadwhitacre is there any update here? |
@michabbb No great news for you, no. Our product team responsible for the Slack integration prioritizes issues related to our SaaS environment, so while I could push this to their backlog I expect that will be an endless wait. Instead I've adjusted the title (accurately, yes?) and linked this in my team's quarterly planning brainstorm. I think we're more likely to be able to eventually prioritize the work on our team, assuming someone from the community doesn't step up to make the attempt first. Not the update you want, but it's the one I've got. 🙏 |
@chadwhitacre nope, sorry, the title is completely wrong. it's not about connection multiple slack workspaces inside one org, it's about connection multiple slack workspaces in general, because it's not possible to connect more than one, that has nothing to do with sentry org. although the real world use would be: every sentry org should have its own slack connection and the ultimate solution/freedom would be, to connect every project to its own slack workspace. but hey, we would be happy (in the first place) if every org could have its own slack connection. 😏 so the current implementation is broken. I can have multiple orgs in sentry but only one slack connection, system wide. that makes no sense. thanks, |
+1 |
Version
22.1.0
Steps to Reproduce
first to understand the confusion: the sentry website says:
setup the slack integration as explained in the docs.
setup the slack integration for a different slack workspace.
and here the problem already starts, because the sentry config needs:
and I can only add ONE set of ids here, not more.
so either the text on the website is wrong or I am missing something here.
is a 2nd workspace really possible or is the text wrong ? 😏
Expected Result
when connecting the slack workspace with sentry, at the oauth page I should see a drop-down to choose which workspace I want to connect
Actual Result
there is no option to select the slack workspace, because of the fixed config sentry always wants to connect to the only one workspace that seems connected with the "client-id".
The text was updated successfully, but these errors were encountered: