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?
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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you for your time.
1. I select the schema I want to export and click on “Export objects.”
2. I change the delimiter to “;” and format to “Data consistent.”
3. Hardware status, Intune Mitarbeiter, and owners should actually contain objects, but Excel only contains numbers.
4. Now I create a CSV Import:
5. Mapping looks like this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And also when I run the import the attributes looks likes this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.