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? 

2 answers

1 accepted

1 vote
Answer accepted
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


Evelyn Lewis
Contributor
August 18, 2025

Hi @Kai Krause and @Marc - Devoteam

Thanks for your help! I figured that was the case.

Cheers,

Evelyn

0 votes
Marc - Devoteam
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 18, 2025

Hi @Evelyn Lewis 

@Kai Krause is correct, there is no fallback option.

This as the 2nd field is based on the value provided in the 1st field.

If this has no value, no options will be shown, as none apply the the 1st required value.

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