I'm working on an automation which sends a Slack message with a summary of the results of a Lookup Issues search.
I'm trying to pull a value from a Lookup table (which converts the issue type name to a Slack icon name) and it doesn't work. It seems to not render the results from the lookup table.
*Completed this week:*
{{#lookupIssues}}
{{icons.get(issueType.name)}} <{{url}}|{{key}}>: {{summary}}
{{/}}
Is it possible to call a lookup table from within a lookup issues loop?
Hi @Matt Caruso -- Welcome to the Atlassian Community!
Short answer: no. Within an iterator, no other data is visible.
For your scenario, there are a few workarounds, and the simplest one may be to not use the lookup table. Assuming your lookup only contains those types, you could do this:
*Completed this week:*
{{#lookupIssues}}
:jira-{{issueType.name.toLowerCase()}}: <{{url}}|{{key}}>: {{summary}}
{{/}}
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.