Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Adding approvers from multiple assets

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

Assets1.pngassets2.png

1 answer

1 accepted

1 vote
Answer accepted
Kris Dewachter
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 24, 2023

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 

Or will this loop it for each value @Kris Dewachter 

 

smart.png

Kris Dewachter
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 24, 2023

@steven_allcock,

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

Like steven_allcock likes this

Thank you that has helped me out a lot

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events