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

how do I iterate over a custom field that is an array in automation?

I am trying to create a slack channel and add various users to it. Everything is in the ticket.

A custom field called "squad" contains a list of jira account ids added via a user lookup.

My automation currently creates a slack channel via slack web api and assigns ownership to the ticket assignee using properties I have added to the users, ie: {{issue.assignee.properties.metadata.slack_id}}

Then I lookup the channel id in slack that I just created by using an azure function to search the channel name,  

Next I need to take the squad smartvalue and for every account, grab the slack id and call the slack api to have the user added to the channel as well. 

I thought that the way to do this was with branching, but the value that is getting sent still looks like this: "slack-id": "U0XXXX8KDA5, U0XXXXNLNDR, etc".

Is there a way to accomplish this in automation without creating another function?

0 answers

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