How to fill insight custom field with insight object using automation

Petar Milavić May 2, 2022

Hi all,

after the issue creation, I want to set an insight custom field with some insight object using automation.

Lookup objects part works fine: 

 

Capture4.JPG

 

If I select the attribute from the lookup object that works fine and the Summary field is filled:

 

Capture6.JPG

 

But If I try to fill the custom insight field with an Insight object that action returns

An error occurred while requesting remote information
Bad Request
No fields or field values to edit for issues (could be due to some field values not existing in a given project)
and the custom insight field remains empty. This is the configuration part:

 

 Capture5.JPG

 

Is there some simple solution to set the insight field with an insight object?

Thank you,

Petar

2 answers

1 accepted

8 votes
Answer accepted
Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 2, 2022

Hey @Petar Milavić ,

The Edit action you are using is expecting an IQL where you entered the {{lookupObjects}}

I suggest using the IQL you used to do the LookupObjects action in the Edit action. That should be enough.

0 votes
Petar Milavić May 2, 2022

Hi @Dirk Ronsmans

thank you very much, it works.

BR

Petar 

Tania van Wyk de Vries August 24, 2022

Can you share your final solution on the edit Insights field?

Tania van Wyk de Vries August 24, 2022

Sorted. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events