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
Next: Root
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
I have setup an automation to pull approvers from JSM assets based on what is selected.
When i select 1 it works but where there are 2 assets it doesnt pull anything.
Im sure its to do with the scope of the first part of the automation where objectType = "EIS Group" AND key = {{issue.EIS Group}} is only looking for 1 but whats the best value here?
do i also need to change the audit log action? {{lookupObjects}} is {{lookupObjects.Name}} with value of {{lookupObjects.Approvers}} which is {{lookupObjects.Status}}
Thank in advance for any advice
Hi @steven_allcock ,
I think you need to add a "For Each: Branch" node after the "Lookup objects" node, and loop over each item separately.
Best regards,
Kris
hi @Kris Dewachter
Thanks for the suggestion, with the number of groups i've got it could be quite time consuming to setup and manage for each group
I might have to think of another way
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct, It will look over every object from the 'Lookup Objects' action.
You can have a look at this documentation : https://community.atlassian.com/t5/Automation-articles/Branching-over-smart-values-in-Jira-Automation/ba-p/1741935
Br,
Kris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.