A simple Assets/Insight condition to validate on an attribute of an object

Steve Letch March 14, 2023

Hi All

 

Been scouring around and of the many posts about Insight, I've yet to find a simple groovy condition I can add to my Insight post function to check against the value of an attribute of an object selected in a custom field.

 

All I'm looking to check for is my object attribute type called 'Approvers' != null 

 

The only condition in the very limited scope of conditions in the official documentation is if the custom field has a value and the Name attribute is a particular string

 

I've attached an image showing the attribute where I'd like to only run my post function if the attribute != null, which in the case of the object below would be false

 

object.PNG

post function.PNG

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events