Automate Jira to send to "clickable link" to a specific Slack channel on "label" or "status"

Ben Puzzuoli March 12, 2024

Hi,

I'm trying to figure out how to send the "LINK/URL" of a Jira issue to a specific channel in slack.

Currently I have it working that it "sends a message" to a specific channel, see: https://app.screencast.com/QGCQXdL1eSZem 

But i can't figure out how to get a "CLICKABLE" link to be sent to Slack so the user can slick FROM Slack and then go directly to the issue in Jira.

This is what I have so far in my automation: 

https://app.screencast.com/LNhZUUNTjHNTa 

 

Any help would be MUCH appreciated! 
Thanks
Ben 

 

2 answers

2 accepted

1 vote
Answer accepted
Hernán Paggi March 12, 2024

Hi @Ben Puzzuoli . You can try this:

Go to the automation section in JIRA (this may vary depending on whether you are using JIRA Cloud or Server). Create a new rule where the trigger is the desired action in JIRA (such as updating a ticket). In the action of this rule, select send a message to an external service, and specify the Slack channel and the message you want to send, which will include the relevant JIRA link.

Regards,

 

Ben Puzzuoli March 12, 2024

Thank you.

I'm using Jira Software (cloud) but that is where I'm getting confused with the action.

Do you mean this screen that I "ask it to send to an external service?" 

 

See: 

https://app.screencast.com/ISWXDGWvH7ZW1

 

thanks

Hernán Paggi March 12, 2024

You don't have the Slack integration configured, so you can't see the necessary actions. You should see a screen like this:

Slack.png

Ben Puzzuoli March 12, 2024

Thanks. I just configured Slack and now I can set up basic automations.

 

When I got to "Send slack message" like above, it doesn't give me any other options like to send in to a specific channel and doesn't include the URL.  

 

Thanks

0 votes
Answer accepted
Christopher Maxwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 13, 2024

Hi @Ben Puzzuoli , Hernan has some good info. 

I put together a mockup for you:

Screenshot 2024-03-13 101446.png

 

For the message:

  • {{issue.url}} is the smart value that inserts the URL of the issue.
  • {{issue.key}} inserts the issue key (e.g., "PROJ-123").
  • The syntax <URL|text> is Slack's format for creating clickable links, where URL is the target URL and text is the clickable text.

 

The lower input is for channel.

Ben Puzzuoli March 13, 2024

Thank you!!! This worked. You are my hero! 

 

Like Christopher Maxwell likes this
Christopher Maxwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 13, 2024

That's great! Happy to help... And thanks for posting an update and flagging answers as helpful --- doing so helps us, and everyone in the community, learn and grow together.

Suggest an answer

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

Atlassian Community Events