I have a custom field (customfield_14543) with dropdown selections of Team 1, Team 2, Team 3, etc. When Team 1 is selected in the custom field, the automation will send a message to Team 1's slack channel.
When the custom field value changes (trigger) do I need to use Advanced Branching to send a slack message to that team?
@Sheri Seldes
No—Advanced Branching is not needed for this single-select dropdown use case in Jira Cloud; use a “Field value changed” trigger with an If/else block to route a “Send Slack message” action to the correct channel based on the selected team
Setup Steps
Dynamic channel mapping
Thanks
Jayesh R
Hello @Sheri Seldes
I don’t use Slack myself, but according to my research, it seems that Slack channels follow this format:
https://app.slack.com/client/(workspace_id)/(channel_id)
So it’s possible to use a dynamic value if your custom field stores the Slack channel ID and here the various : {{fieldChange.toString}}
eg : https://app.slack.com/client/(workspace_id)/{{fieldChange.toString}}
However, I think it’s not very user-friendly for Jira users to have to select a channel ID instead of a channel name.
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.