Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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 to edit and create multiple Objects using AQL branches in Automations

Hello,

I am trying to automate the updating and creation of objects using an automation.  I have an object "EDG" that has the following relevant attributes "Support Expiration", "Support Dropdown", and "Retired".

My automation runs daily and I want it to check for objects that are have an expiration date that has passed, edit those objects so that "Support Dropdown" is set to 'false' so the objects won't appear to customers in a custom asset field, and set "Retired" to 'true'.  It should also create a new object with a similar version of the "Name" attribute (ie. the original object might be "v1", while the new object will be "v1 Unsupported"  with values of 'True' for "Support Dropdown" and "Retired".

This will remove the expired object from the portal dropdown and replace it with a new object indicating that support has expired and let previous issues keep the appropriate version indicating that it was opened when the version was supported.

I've managed to get this working for a single object, but if multiple objects expire on the same day, my automation isn't working.

Please find screenshots of the current working automation:

help1.png

help2.png

Note: that in the current version of the automation included in those screenshots, I'm also setting the "Released" attribute to the distant future, as well as copying over the attribute "Type of Release".

In summation, how can I get this automation to create multiple separate objects for each result it finds from the AQL query?

Thanks,
James

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