Change Asset Attributes

Rudy Hemkes
Contributor
November 20, 2024

I have a number of asset objects setup in Jira and I want to change the attributes from Default/Text to Object/(link to metadata).  Is it possible?

3 answers

2 votes
Kris Dewachter
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 21, 2024

Hi @Rudy Hemkes ,

I guess you will have to create new attributes with the correct type, populate them (with an import), and remove the old attributes.

Best regards,

Kris

0 votes
Maelle Cartron - Elements
Atlassian Partner
December 10, 2024

Hi @Rudy Hemkes 

Welcome on Community! Thank you for your answer!

Yes, it’s possible to change the attribute type in Jira Assets (formerly Insight), but there are a few considerations to keep in mind.

Unfortunately, you can’t directly change an existing attribute’s type (e.g., from Default/Text to Object). Instead, you’ll need to create a new attribute with the desired type.

To move your existing data to the new attribute:

  • Export the data from your existing attribute to a CSV file.
  • Create the new attribute with the "Object" type and link it to the desired metadata object schema.
  • Import the data back into Jira Assets, mapping it to the new attribute.

Ensure that the new attribute is properly configured to reference the correct objects and metadata. Once the migration is complete and verified, you can delete or archive the old attribute to avoid confusion.

Let me know if it's working!

Maëlle

0 votes
Vijay Dadi
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.
November 21, 2024

Hello @Rudy Hemkes ,

 

You can not change the data type of the asset attribute if that field already has values stored in it. There are two ways you are achieve to change the data type of the asset asset attribute.

 

1. Clear all the values from the current default/text field, then the system will allow you change the datatype of the field.

2. Create a new asset attribute with the desired data type.

 

Hope this helps !

Vijay

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