3d (edited) • Jira
Jira Automation - Surely there's an easier way?
Hey community!
Sorry - long-ish post incoming
I'm currently attempting what should be an easy automation but is really stumping me. I have set up a rule that when bugs in a particular space are resolved, that a slack notification occurs to let out stakeholders know that a bug has been resolved.
Where I'm struggling is, that we want to "@" tag them in slack which should be easy right?
GPT mentions that I could use a lookup table (I've got over 60 slack IDs to add) but our Jira (premium cloud upgraded version) doesn't offer Lookup tables as an option ?! 🥲. So instead, it recommends we use a create variable option "Reported by: <@{{var.slackMap.[issue.reporter.displayName]}}>"
I've done that in the following format:
Trigger: Issue transitioned → Done
Condition: Issue type = Bug
Condition: Project = [space]
Action: Create variable (slackMap)
Action: Send Slack message
I tested this with just one user/slack ID and it worked perfectly! However, when I added the full list of team members, it populated with this notification in slack:
"DO-1234 has been resolved in the Customer Support project. Reported by: <@> View issue" so it's removed the "@" tag that was there when I tried with one example. GPT then said that Jira doesn't support <@{{var.slackMap.[issue.reporter.displayName]}}> (Sigh)
My last option is the If/Else path, but not doing that for over 70 team members and it will be impossible to maintain!
Any sanity checks/advice would be very much appreciated
2
7 comments
Orla Mears
1
Jira Automation - Surely there's an easier way?
Atlassian Everything
skool.com/atlassian-everything
An exclusive community for Atlassian users to learn, share, and build smarter solutions that make work simple.
Leaderboard (30-day)
Powered by