Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Insight Custom Field with Multiple Objects

Patrick Kramer March 9, 2022

I've seen a few conflicting documentation and articles so I thought I'd ask the question anew. I can't tell if I'm fighting functionality that isn't possible or I'm missing something obvious. 

Goal

- Given I have an Insight Object Schema containing objects that can be looked up by a Custom Field Option ID, I'd like to take a MutliSelect List Field, lookup the Insight Objects contained in the list and add those Objects to a Insight Jira Custom field.

Custom Field Configuration Scheme

2022-03-08_16-07-37.png

Here's a piece of my automation. I'm Branching through each ID value contained within the Multi-Select

 

2022-03-08_15-59-24.png

Then attempting to set the values obtained in {{lookupObjects}} to the Insight Custom field

 2022-03-08_16-00-49.png

 

My attempts are either giving me an error like I can't set this value. I'm assuming I need something like {{lookupObjects.label}} but I can't find what syntax it is. You can see from logging {{lookupObjects}} that I'm getting the desired list of Insight objects I'd like to use. 

2022-03-08_16-09-02.png

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
March 9, 2022

You are correct, you need to use the dot (.) notation to get to the actual value you want populate your field with. Here is an example of an automation I use to get approvers for different applications

Lookup approvers in Insight.png

Here is the documentation for Insight smart values.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events