How do I use field values in an Asset object to conditionally display form sections?

Jaco Theron
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 11, 2025

Scenario:

I have a form, to capture data for a request via a Portal.
I have an asset object input field for a Product.
Based on the Product.Type I would like to display a section with relevant input fields.

 

With the limits on api populated fields, there is no real workaround apart from using assets, but I can't access the fields of the asset?

 

Am I missing something? This seems like a very basic use case...

Surely there are many people with a requirement to use referenced data, from something as simple as a csv file, in their forms and conditionally display sections?

1 answer

1 vote
Manoj Gangwar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 11, 2025

Hi @Jaco Theron Welcome to the community!

Could you please share a screenshot of your form configuration for the Asset field?

1st add the Asset field on the form and then map it with the Jira Asset field.

add the section for the asset field. 

add other fields 

Jaco Theron
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 11, 2025

@Manoj Gangwar 

The asset field work fine, i can select an asset in the form (As long as I am logged in)

What i want is to conditionally display a section:
Based on the value of a field in the selected asset (not based on the selected asset)

 

Let's use a different example,

Let's say the asset is a computer mouse, and in that mouse object there is a type, that can be wired or wireless. 
Many Mouse asset records will have the same type.
Based on the type I want to conditionally display more fields, which are only relevant to the specific type (wired / wireless)

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