Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA automation rule that sends Slack message with a slash command

Celena Chang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 20, 2021

How can I create a Jira automation rule that sends a Slack message containing a slash command. For example, I want the rule to send a Slack message like:

/poll "title of poll" "option 1" "option 2"

so that a Simple Poll is created. However, it just sends a Slack message with exactly that text "/poll ..." (it doesn't transform the slash command into an actual Simple Poll)

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2021

Hi @Celena Chang -- Welcome to the Atlassian Community!

There is an open suggestion to support sending commands from automation to Slack here:
https://codebarrel.atlassian.net/browse/AUT-1320

In that suggestion is a note about using the Slack API to send commands...As a work-around, have you considered calling a web request and the REST API function from the rule to send the poll and see if that works?

Best regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events