Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error when setting attribute as a label for objects in Assets

Mariana Sales
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!
December 4, 2022

I'm trying to change the label of an attribute but I get this error: 

"To label this attribute, you need to specify at least one value on all objects within the affected object type"

I don't understand why this is occurring, it's just in some objects.

 

Screenshot at Dec 04 13-35-31.pngScreenshot at Dec 04 13-35-51.png

1 answer

1 accepted

3 votes
Answer accepted
Ismael Jimoh
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.
December 4, 2022

Hi @Mariana Sales 

The label of an object cannot be empty because it is what the object is known as. The error is now informing you that to use the attribute as a label, you must first set a value for the attribute in all existing objects and only then can you set said attribute as the label.

My recommendation is to check which object has a null value for the attribute and update these. Once done, go ahead and set the attribute as a label.

Mariana Sales
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!
December 6, 2022

Hi @Ismael Jimoh 

Thanks for your response! It was definitely that, my objects had null values.

Now it's working. Thanks! 

stephen.vinales
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!
August 16, 2023

@Ismael Jimoh 

This worked for me too.

Appreciate the help!

Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events