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

Automation to Lookup Object and Edit Object Attributes from Custom Field

I am attempting to update an Insight Object attribute using automation, however, get errors:

automation errors.png

Automation rule:

automation rule.png

Am I using the wrong syntax?  Appreciate any help on this... Thank you!

3 answers

2 accepted

5 votes
Answer accepted

Screenshot 2021-12-20 103410.png

Deleted user Apr 27, 2022

i'm trying to understand if i can call from automation for jira (for jira datacenter) an insight object and its property (in particular an email attribute that i need to send from automation for jira an email). has anyone ever had this need and solved it? I'm looking for information and examples from some time but I don't find valid examples. This example of yours seems to be only for cloud.

Pieter Wouter Hartog
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 06, 2023

Great tip! just what I needed.

For others: In case you can't find the 'Branch on IQL' like I did: Make sure you start with a 'Global' Jira Automation rule, not an Automation rule in you project settings.

odeds
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 11, 2023

Just to clarify, after struggling substantial time to find how to update an Asset from a Scheduled trigger... the branch is named "Brach on AQL" (at least at Jira cloud) and available only when creating a rule for the "Global automation". 

0 votes
Answer accepted
Charlie Gavey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 16, 2021

Hi there,

Here's some info on the correct syntax for using LookupObjects:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-insight/#SmartvaluesInsight-Lookupobjects

Hope that helps!

Cheers,

Charlie


It uses IQL - write the query in Insight / Assets first, then paste your smart values

 

Eg.

"Assigned User" LIKE "{{issue.CustomField_11253.displayName}}" AND objectType in objectTypeAndChildren("Hardware") AND "Status" LIKE "In Use"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events