The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to set default value of an attribute in Asset Management

Crystal Rouse
Contributor
October 18, 2022

I am trying to figure out if there is a way to set a default value for an attribute in our Insight Schema (renamed to Asset Management I believe).

 

For example, I need to set the default value of Total Cost to 0, or an Archived Field to False as the default.

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Dirk Ronsmans
Community Champion
October 18, 2022

Hey @Crystal Rouse ,

Reading your question am I right that you want a default value within your Insight/Assets schema? (So not a default value on an Insight custom field)

If that's so I'm afraid that's not possible.

For the Cloud product there are 2 issues that are in the suggestions

https://jira.atlassian.com/browse/JSDCLOUD-10492

https://jira.atlassian.com/browse/JSDCLOUD-11227

I'm unable to find the same suggestions for DC so I suggest to reach out to support (https://support.atlassian.com/contact) to have them create a similar one for DC.

Crystal Rouse
Contributor
October 18, 2022

You are correct, I need to be able to set a default value for an attribute to eliminate nulls for example in a Total Cost attribute (due to user error) or automatically set Archived fields to False for new objects.

0 votes
Jack Brickey
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 Champions.
October 18, 2022

Hi @Crystal Rouse , are you using Forms in project settings? If so when you add or edit a field you should see something like below. Note I am on Cloud so things are indeed different.

73321DD8-C06E-4275-88C3-DFD51F1C80C0.jpeg

Crystal Rouse
Contributor
October 18, 2022

Thank You, I have Data Center and can't find any options like the one in your image.

0 votes
Pavel Junek
Community Champion
October 18, 2022

Hi Crystal,

You can try this Atlassian manual - Default Assets custom field 

Pavel

Rocio Escalante
August 8, 2024

But this is to set a custom field, and what is needed is to set an attribute.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events