You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Jira Cloud Automation Actions documentation (here) mentions a "Create lookup table" action, however, that action isn't present in the Automation app. This would be incredibly helpful for a number of my current and planned automations.
Is this something that's coming soon?
Wow! Great find @Ryan Schamp !!
Of course now I want to know:
But yeah there a LOT of if-else-else-else rules out there that would be much simpler to implement with a lookup table!
(Neat stuff, @Bill Sheboy
Thanks for that information!
This feature would help with several use cases...although I wonder how it will align with the problems where smart values and created variables often cannot be used as function parameters (as they resolve to null). Or in smart value, list filtering.
It appears that documentation page changed some time after 9 December 2022 (according to internet archive captures), and the feature is not in production or in the rules example library instance yet.
The feature isn't in the public backlog as a suggestion and the old Code Barrel backlog was recently removed so no way to check if it was in there either.
If only there was someone who was a community leader on this thread who could ping the Atlassian product people for more information... ;^)
Wait wait, am I the community leader?
Heh. I guess that's me. Well, while leaders do have a Slack where we can chat with Atlassian Community staffers, and we sometimes get to talk to Product folks, we don't actually have a Batphone that hooks us up. Although what I really need I think is a Batdirectory.
Bad metaphors aside, I do have access to see which Atlassian folks have been posting about new Automation features. Heh.
(And hey, on the plus side, the documentation is clearly ahead of schedule in their work! Just need those screenshots! :-)
This was my innovation week project and it is coming to Automation rules near you soon. The docs unfortunately got published a little early. We're dogfooding it ourselves at the moment to make sure its solid. I've already found one little issue with it.
Since you asked, I'll get a screenshot shortly.
Please review the article announcing the feature release; it describes the usage of the lookup tables: https://community.atlassian.com/t5/Automation-articles/New-Automation-action-Create-lookup-table/ba-p/2311333
The short answer is: add key/value pairs for what you want, and then reference them with the get() function.
And, I highly recommend reading all of the comments in that article as they will describe some known capabilities/limitations.