How to Link created Insight Objects with automation rule

Fabi
Contributor
May 20, 2022

I have an automation rule that creates Insight Objects every time a ticket transits to an ordered state

I have an Insight custom field named "Aufträge [Insight]" and when I try to add the action "Edit issue fields" with the object that was just created none of them work.
There must be an error in the syntax...

I already read this: How to link object 

and this: Workaround 

My created object:

object.png

Name of the object is the same like issue summary, so i tried to lookup this object with this query:

objectType IN objectTypeAndChildren("Angebote") AND "Name" = {{issue.summary}}

issue.png

Thanks for your help!

1 answer

1 accepted

1 vote
Answer accepted
Fabi
Contributor
May 20, 2022

I found a solution.

 

At first I created an "Lookup objects" step:

look.png

and used this object for linking the issue:

objectType IN objectTypeAndChildren("Angebote") AND Key = {{lookupObjects}}

aaa.png

the automation failed because of the spaces in "Name" the "Lookup Object" uses the key value and it works

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events