Forums

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

How can you clone/copy object types?

Antonia
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.
September 3, 2025

I haven't found anything on this, so I think the only solution is to export/import.

However, when I export using CSV and then import, none of the statuses or people are transferred, even though it's the same schema. I just want to make a backup, but if all the non-text-based stuff is missing, it's useless to me.

So how can I tell the importer that, for example, the status “Active” is not a number but a bubble?

For example, the status “Active” becomes ‘62’ after import, or in the case of people, “Max Mustermann” becomes “80.” This is probably because they are objects, but how can I import them then?

2 answers

0 votes
Rosalyn R_ Gibson
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!
September 4, 2025

Cloning or copying object types involves creating a duplicate of an existing object. The method for achieving this depends on the programming language and whether a shallow or deep copy is desired.

 

Seminole County Clerk of Court

Antonia
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.
September 4, 2025

Hi @Rosalyn R_ Gibson

how do I create a duplicate of the object? And what do you mean by programming language? Do I have to program something for that? And what is a shallow and deep copy?

0 votes
Marc - Devoteam
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.
September 3, 2025

Hi @Antonia 

What are the steps you are taking, please who screenshots and how does your csv import file look like and what are the settings of the mapping and attribute mapping?

Antonia
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.
September 3, 2025

Hi @Marc - Devoteam

thank you for your time.

1. I select the schema I want to export and click on “Export objects.”

Screenshot 2025-09-03 140448.png

2. I change the delimiter to “;” and format to “Data consistent.”

 Screenshot 2025-09-03 140728.png

3. Hardware status, Intune Mitarbeiter, and owners should actually contain objects, but Excel only contains numbers.

Screenshot 2025-09-03 140913.png

4. Now I create a CSV Import:

Screenshot 2025-09-03 141355.png

5. Mapping looks like this:

Screenshot 2025-09-03 141550.png

Screenshot 2025-09-03 141656.png

Screenshot 2025-09-03 141738.png

Antonia
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.
September 3, 2025

And also when I run the import the attributes looks likes this:

Screenshot 2025-09-03 142207.png

Marc - Devoteam
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.
September 3, 2025

Hi @Antonia 

On creating the import, disable the option "Automatically create object type and attributes"

Then you will need to map the columns from the CSV to the attributes that already exist in the asset schema.

This should provide the correct attribute options, like a status attribute.

Example of an import on my side, manually mapped

Screenshot 2025-09-03 at 15.10.10.png

Antonia
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.
September 3, 2025

Hi @Marc - Devoteam

thank you very much. Can I copy the attributes from one object type? Because now I have to add all the attributes and every status again.

And if I now select the object type of the original node in “Create Mapping,” what happens? Is everything imported into the node, or is only the mapping transferred?

Marc - Devoteam
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.
September 4, 2025

Hi @Antonia 

You can't copy an import mapping, so if you want to import multiple object type, you can do this is a single mapping.

Also see this KB, how-to-import-multiple-object-types-in-a-single-import-configuration-in-assets 

Hi I don't exactly understand wht you mean here: "And if I now select the object type of the original node in “Create Mapping,” what happens? Is everything imported into the node, or is only the mapping transferred?"

Antonia
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.
September 4, 2025

Hi @Marc - Devoteam

so “Managed Devices” is the original object type, and if I select it there, as shown in the image, what happens then? Is the CSV file then imported into the “Managed Devices” node, or what does it do? When I click on the “create” button at the bottom, all the attributes I need are included in the mapping, but I'm afraid that the CSV file will then be imported into the node.

Screenshot 2025-09-04 133557.png

Antonia
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.
September 4, 2025

@Marc - Devoteam

Regarding the link:  https://support.atlassian.com/jira/kb/how-to-import-multiple-object-types-in-a-single-import-configuration-in-assets/

I don't want to create a extra scheme, because I just want to do a backup for one object type. So the story behind it, is a app we use has an open update and I want to update the app but before that I want to have a Backup of the object type.

Marc - Devoteam
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.
September 4, 2025

Yes, the import is on in the object type Managed Devices.

So if you need objects to be in another object Type, you will need to create a new mapping and map the csv fields to the attributes.

Antonia
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.
September 4, 2025

@Marc - Devoteam 

I have managed to import users and dates, for example, but unfortunately not statuses. Why is that? I deleted the statuses before importing as a test, but they didn't reappear after importing.

Screenshot 2025-09-04 151430.png

Marc - Devoteam
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.
September 5, 2025

Hi @Antonia 

For Status objects, you need to provide the names in the CSV, the export shows numbers, but for import a equivalent attribute status needs to be provided.

If you do an export using the user friendly option, you will get the status name in the export.

The data consistent option only shows the status ID.

Antonia
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.
September 5, 2025

Hi @Marc - Devoteam

the status issue has now been resolved with user friendly, but it no longer works with the user attribute (object), which is no longer imported (my name is now in the Excel file). Do I always have to do two imports? One user friendly and one data consistent?

Marc - Devoteam
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.
September 5, 2025

Hi @Antonia 

The user attribute is a tricky on, this always need to be the account id.

So you might need both export types: one user friendly and one data consistent

Then get the account Id's from the data consistent and paste this information in the column where the user id's are specified and then import that CSV.

I know it's not user friendly but we currently have to work with what is possible.

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