Forums

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

Smart value for issue link in automated Slack messages for looked up issues

Yuliia Zhyliaieva
Contributor
September 24, 2020

Hi!

I set up a scheduled rule which runs lookup on issues resolved the day before, sums up the story points and sends the figure and the issues in a Slack message.

However, I cannot figure out a way to include a link to the issues. Usual things like {{issue.toUrl}} seem not to be working for the looked up issues. Could you advise me on this, please?

Here is the body of the message

{{lookupIssues.Story Points.sum}} story points were resolved yesterday:
{{#lookupIssues}}
* {{key}} {{summary}}
{{/}}

2 answers

1 accepted

0 votes
Answer accepted
Mark Chaimungkalanont
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 24, 2020

Hey there Yuliia,

We don't support all the functions and custom fields for the lookupissues action at the moment due to performance concerns (https://codebarrel.atlassian.net/browse/AUT-1996)

If you know your base URL you can simulate the toUrl call by using the format:

{{#lookupIssues}}
* https://codebarrel.atlassian.net/browse/{{key}}
{{/}}

Cheers,

Mark C

0 votes
Yuliia Zhyliaieva
Contributor
September 30, 2020

Here is what worked for me:

{{lookupIssues.Story Points.sum}} story points were resolved yesterday:
{{#lookupIssues}}
• <{{url}}|{{key}} {{summary}}>
{{/}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events