Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Send message to Slack (by Webhook) when to already existing issue some certain labels are added? Edited

Hello everyone,

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?

 

jiratoslack.png

Thanks in advance and kind regards,

Andreas

 

3 answers

Is there no way to catch the events when new labels are set to the issue?

0 votes
Daniel Eads Atlassian Team Jul 22, 2019

Hey Andreas,

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).

Cheers,
Daniel

+1 on notifications once a label change and nothing more

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you