Forums

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

How to do a syntax condition for blank

Kelly Hansen February 15, 2024

Hello all!  I have an automation rule that is failing and I think its because my syntax for smart condition is not correct.  Can someone help me with what I have wrong and how to fix?  I am trying to see if the parent (or Epic) link is blank meaning that the ticket is not created from an epic

 

{{issue.parent.epic Link}} does not equal {}

 

 

2 answers

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2024

Hi @Kelly Hansen 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Until we see those...

Often to test for an empty field, you may just use a basic condition, but for the field not in the dropdown lists, the Smart Values condition (formerly known as Advanced Compare) is used.  Please try comparing:

  • first value: {{issue.parent}}
  • condition: equals
  • second value: leave the field empty

Kind regards,
Bill

0 votes
John Funk
Community Champion
February 16, 2024

Hi Kelly,

if you’re using a Jake statement, it would be is empty. So, {{issue.parent}} is empty 

 

Suggest an answer

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

Atlassian Community Events