JamfMigrator icon indicating copy to clipboard operation
JamfMigrator copied to clipboard

Items are not being migrated with dependecies

Open bblater opened this issue 1 year ago • 3 comments

Attempting to migrate several items from our production instance of Jamf to our Sandbox for testing. Items like policies, profiles, smart/static compter and user groups are failing because of dependencies (other groups or users etc.) See one particular error here:

20240827_084915 check destination for existing object: Computers with Old Standard Name
20240827_084915 [ViewController.startSelectiveMigration] create Computers with Old Standard Name smartcomputergroups dependency
20240827_084915 [CreateEndpoints] Migrating smartcomputergroups
20240827_084915 [CreateEndpoints] [computergroups] Computers with Old Standard Name - Failed (409).  Create error: Smart Group (Computers with Old Standard Name) depends on another Smart Group (Legacy Computers Moved to New Jamf Configuration) which does not exist yet.

Is it possible when migrating these items that it pulls the dependencies, but not the computers or users etc in the dependent groups? I'm not concerned about those objects being in the groups, just that I get the configuration of the items.

The way it is now means there is a lot of manual work that has to be done to find which items didn't migrated and manually create them all.

bblater avatar Aug 27 '24 13:08 bblater

Same here...which is too bad, as it's generally a good tool.

boettchs avatar Jun 02 '25 19:06 boettchs

Did some work on v8.1.1, let me know if it performs better. Note, if you haven't tried objects can be copied without their scope (Settings -> Copy). Nested smart groups will continue to be a nuisance until I get a good way to handle those.

BIG-RAT avatar Jun 30 '25 19:06 BIG-RAT

Thank you @BIG-RAT!!!

I thought I would check in again on this and just saw your post. I'm trying to replicate our production environment to our sandbox in preparation for IaC. Because of all the dependencies, I figured I would have to do this manually with an API call in a script.

But I will download the latest version and see how it works.

bblater avatar Oct 29 '25 12:10 bblater