Forums

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

How to set an Assets custom field to filter based on another field OR on that field being empty?

Evelyn Lewis
Contributor
August 17, 2025

I would like for a custom Assets field to display the assets available based on a previous field OR all assets if that previous field is blank.

E.g.

Assets Field 1 is CUSTOMER

Assets Field 2 is SITE

 

If CUSTOMER has an entry, SITE should only display in drop down the sites linked to that customer in Assets. Or, if CUSTOMER is empty, SITE should display every site available in the Assets schema.

 

Is this possible? Or is this going to require two fields for SITE? 

1 answer

0 votes
Kai Krause
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.
August 17, 2025

Hi,

i think actually there is no "fallback" for the placeholder functions, that does let you add a fallback that shows all objects when the placeholder is empty.

In the moment you use a placeholder (${Customer}) in the Filter Issue Scope, the query becomes invalid (and therefore returns zero objects) as soon as that placeholder has no value.

Filter Jira Assets Field Using Multiple Object References in Jira Cloud | Jira and Jira Service Management | Atlassian Support

You need two Site fields (one filtered, one unfiltered) and simple show/hide logic in Forms for the customer portal. 

BR
Kai


Suggest an answer

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

Atlassian Community Events