Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Smart values on Slack - How to display the key with an URL?

Hello. 

 

I wish to display a message on a Slack channel. Then, when I run my automation, I see the full URL of the issue.

How is it possible to see only the issue key with the link inserted?

 

The result should be something like this:

Hi, the issue key number is still in progress!

 

Thank you for your support!

5 comments

Mykenna Cepek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 12, 2021

I believe you use this format:

<https://slack.com|Slack>

Tested and confirmed.

Bonus: surround with asterisks for bold text:

This is *important*

Hyper-bonus: see all the markup options here, with a cool interactive option to experiment...

https://api.slack.com/reference/surfaces/formatting

Like # people like this
Claudio Gonzalez
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.
May 12, 2021

You can use: [link title|http://example.com]

Tetyana SAVENKO May 12, 2021

<{{issue.url}}|{{issue.key}}>

Like # people like this
Dariya Chernologova May 13, 2021

Hey hey
I've recently run into the same need. I use the following expression in the rule:

Issue <{{issue.url}}|{{issue.key}} {{issue.summary}}> ...

It will look like this:

Issue KEY-1234 Summary of the issue ...

Like # people like this
Ziad Zitoun May 15, 2021

Teyana & Dariya you solve it! Thank you all for your participation. I share the result below:

 

*Hi @{{assignee.displayName}}*, the issue <{{issue.url}}|{{issue.key}}> is still in progress!
<{{issue.url}}| *{{issue.key}}* - *{{issue.summary}}*>

TAGS
AUG Leaders

Atlassian Community Events