Forums

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

How can I limit or validate Asset fields so that users MUST select from the available options?

Mark May 6, 2025

I plan to allow our Bus System Admins to add and update their own Config Items in the CMDB (in Assets).  However, I want to require some fields and also limit the available options on certain fields.

For instance, if someone creates or edits a laptop record, I'd like to require that they select a valid model - and they should only be able to select from the available models we use (which exist in a separate asset table).

2 answers

0 votes
Aaron Geister _Trundl_
Community Champion
May 6, 2025

@Mark 

I would also like to welcome to Atlassian Community!

Are you doing this straight in the Object Schemas? Meaning that the data they entered is being update in the tables and that is where you can't set a requirement? 

I have not found a way to require an attribute to be entered in the past directly in the asset schema.

I know some teams use a Jira request to add objects and attributes via JSM form and use automation to populate the data in the the schemas. 

This is an article that can help with updating attributes via automation and request form:
https://confluence.atlassian.com/jirakb/how-to-update-asset-object-attribute-using-automation-with-values-from-associated-jira-issue-1085200114.html

I do believe if you are using request forms to populate data from there to assets you can set asset fields and Jira fields as required in the request type. 

I hope this helps. 

0 votes
Mikael Sandberg
Community Champion
May 6, 2025

Hi @Mark,

Welcome to Atlassian Community!

You can do this by setting the attribute as a reference to other object schemas, for example with your laptop example the model would be a reference to the model object schema. 

Mark May 6, 2025

Thanks for the response.  I understand referencing the other table, but when I do this, users can still simply leave the field blank or they can type something invalid and choose to create a new model in the table. 

I'm guessing I can restrict user ability to add to that table in many cases, although I'm not sure that's ideal in all cases.  Also, it still allows them to leave the field blank.  I don't see a way to set a field as mandatory/required.

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