自動化で Slack を使用する
[Slack メッセージを送信] アクションを設定する
You can set up automation flows to send messages to private Slack channels using the Send Slack message action. To do this:
In Slack, go to incoming webhooks. You can also click the link to configure an incoming webhook in the Send slack message action. If you don’t have the right permissions, view alternatives methods in Permissions.
メッセージを投稿するチャンネルを選択 (または新規チャンネルを作成) して、Incoming Webhook を追加します。選択したチャンネルは Slack 内から、または [Slack にメッセージを送信] アクションから、いつでも変更できます。
Slack の統合設定から Webhook URL をコピーします。
Webhook URL を [Slack メッセージを送信] アクションに貼り付けます。
チャンネルにメッセージを送信する
特定のチャンネルにメッセージを送信するには [チャンネルまたはユーザー] フィールドに #channelname (例: #team-leads) を入力します。
ユーザーにメッセージを送信する
特定のユーザーにメッセージを送信するには [チャンネルまたはユーザー] フィールドに @MemberID (例: @U123) を入力します。ユーザーの表示名とは異なることにご注意ください。メンバー ID を見つけるには、Slack のユーザー プロファイルを開いて [その他] (…) > [メンバー ID をコピー] の順に選択します。
権限
If you see the error "Only certain users are allowed to add and edit integrations" or "This app is not allowed to be installed on this workspace" when creating an incoming webhook, this means your Slack workspace has restricted app installation permissions to Workspace Owners or Admins only.
You have two options to resolve this:
Contact your Workspace owner or Admin - Ask them to either grant you permission to install apps, or have them install the incoming webhook on your behalf.
Create a Slack app instead - As an alternative, you can set up a custom Slack app with incoming webhook support, which may offer more flexibility depending on your workspace's app approval settings. Follow Slack's official guide on creating a Slack app here: https://docs.slack.dev/app-management/quickstart-app-settings/
詳細
Check out some use cases for Slack and Atlassian automation in our automation template library.
この内容はお役に立ちましたか?