I'm trying to set up a Webhook integration with Slack. We have different Slack channels (and therefore different Webhooks) for each Project. Ideally, I would send a webhook when one of three things happens -
1. When an Issue is Created
2. When a Comment is made on an Issue
3. When an Issue's status changes
I was able to set up two Webhooks just fine that do #1, and they fire properly based on which project. I did this using the JQL filters -
Webhook 1 - project = "AAA" or project = "BBB"
- Issue: Created, updated
- Comment: Created
Webhook 2 - project = "CCC" or project = "DDD"
- Issue: Created, updated
- Comment: Created
However, I was unable to get the webhooks to fire when I make a comment to any issue in any of the four projects, or when an Issue's status changed.
If I remove the JQL filter, any change to any issue's status (against any project) fires the webhook. No comment fires the webhook though.
I like the idea of using Workflow Transitions, but projects AAA, BBB, CCC and DDD all share the same workflow scheme and I don't want them to post to the same channel... and that still doesn't solve the commenting problem.
You cannot use OR in those webhooks.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.