I am attempting to update an Insight Object attribute using automation, however, get errors:
Automation rule:
Am I using the wrong syntax? Appreciate any help on this... Thank you!
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
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.
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"
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.
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".
It looks like you're new here. Sign in or register to get started.