smart value in Slack Action "Channel or User" field?

Rosa M Fossi
Contributor
June 15, 2020

Hello Community,

I'm curious if the Channel or User field in the Send a Slack message action is "smart value"-able. 

During provisioning, I could start adding a SlackID user property in JIRA, but I'm not certain I'd be able to use it...    

At the core I'm trying to find a way to NOT have to create 15 "if: matches" lines for every one of my approvers (not to mention the overhead of maintaining the automation as managers leave/are hired). 

These users do not have a common channel (nor do we want them in one), so using a channel option is not a solution for us. 

See below:

channel-user-slack-action.png

1 answer

1 vote
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 11, 2020

Hi Rosa,

You can definitely use smart values for the user section. The trick is getting the Slack UIDs accessible by Automation. We've recently released a script that will sync all your Slack users with their Jira accounts to get the Slack UIDs as properties in Jira. At the bottom of the article, you can see how to use a smart value to dynamically send someone a direct message.

Hope that helps, and hope things are going well for you!

Cheers,
Daniel

Dave Liao
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 7, 2024

For those who are curious/searching, can confirm this works in Jira Data Center too!

Just confirmed in Jira Data Center 9.17.1. 🙌

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events