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.
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.