Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to check for empty Insight attribute in automation conditional logic

Charlie Misonne Community Leader May 24, 2022

In an edit issue action I'm setting the value of the Affected Services field. In a previous step I have an "lookup object" action.

My objects have an attribute called Service and sometimes this attribute is empty. In those case I do not want to include it in the edit action.


{"id":"{{Service.Service ID}}"}

So far I am unable to check for an empty attribute.

I tried several notations including these but it always results in TRUE.

  • {{#if(not(Service.equals("")))}}
  • {{#if(not(exists(Service)))}}
  • {{#if(not(Service.isEmpty))}}

1 answer

1 accepted

2 votes
Answer accepted

Hi @Charlie Misonne,

Would it work if you just excluded objects with empty Service attribute from the lookup action? Using the following IQL:

<your current IQL query> AND "Service" IS NOT empty

Hope this helps!

- Manon

Charlie Misonne Community Leader May 24, 2022

Simple and smart solution. Merci!

I still wonder why the conditional logic does not work but I won't spend any extra time on it.

Like Manon Soubies-Camy likes this

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

240 views 1 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you