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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to iterate through list via smart value

Is there a way to iterate through list which I get from a Webrequest?

 

Use Case:

I get a list from a webrequest which I make via Automation. And I want to save every single value in different Customdields, Is there a way to do it?

 

 

1 answer

Hi @Damla Naz Yilmaz 

No; I do not believe there is a generic iterator/looping structure in automation rules yet.  Here is one suggestion to add that feature: https://jira.atlassian.com/browse/JRACLOUD-76906

If you know the list of custom fields, you could include each one as an edit in the rule, and then repeatedly parse the response message with text functions and regular expressions.

A more risky alternative would be to create a "queue" field, and use a second rule which repeatedly triggers itself to consume the values, and halts when the field becomes empty.  Given automation rules already have observable race-track timing issues (sometimes) I would strongly advise against that...and, there is no guarantee that the built-in runaway prevention wouldn't halt the rule defensively.

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

109 views 1 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you