The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events