I already replied elsewhere, but let me copy my response here.
If the custom field is a Number custom field, you can simply use:
And if the custom field is a text field:
!!issue.get("customfield_10803") && issue.getAsString("customfield_10803") != "0"
You can use the "Issue Fields" help tab to find out how to test the value of custom fields.
Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...
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