i have set a Webhook that sends messages in a Slack channel when issues in Jira are created and get some certain labels (i set this in my WebHook event by a JQL Filter) when they are created. This works fine, messages are sent into the Slack channel.
My question now: Is it also possible, that the messages in the Slack channels are also being created, when to already existing issues some certain labels are added afterwards?
Thanks in advance and kind regards,
Webhooks (and the Slack integration as well) are triggered off events - after the issue is created, these will be things like workflow transitions, assignee updated, etc. Typically a change in labels is not going to trigger an event that's listened to by other services. It's considered a low-impact change that wouldn't be processed by a typical 'issue updated' event.
You catch these issues during a workflow transition pretty easily, but just adding labels (with no other change) isn't going to be enough to trigger a notification either via raw webhook or through any of the Slack integrations that I'm aware of.
While you're looking at Slack notifications, it might be worthwhile to check out the official Atlassian-provided Slack integration for Jira Server. It makes configuration easier than raw webhooks and provides some extra features like issue mention unfurling (shows you a preview of the issue in Slack if you mention an issue key like KEY-123).
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event