JamfMigrator icon indicating copy to clipboard operation
JamfMigrator copied to clipboard

migration is calling for it to fetch every policy

Open sbryant82 opened this issue 11 months ago • 2 comments

Using 7.4.2 Selective migration>policies when migrating a single policy, looking at the logs the app is fetching every policy in the database before it starts migrating. This is taking a long time with a current total of 184 policies in our database.

sbryant82 avatar Feb 28 '24 14:02 sbryant82

image

sbryant82 avatar Feb 28 '24 14:02 sbryant82

Using migrate dependencies I trust. That can cause package lookups, and yes every package. The reason for that is the API allows you to create multiple package records in Jamf Pro (with different display names) that point to the same package file name. For example you could potentially have a listings in Jamf Pro for, say, OneDrive.pkg with a display name of OneDrive.pkg and another listing to that same package with a display name of OneDrive (no extension). Only one of those listings is valid. Like to find a better way to guard against this but haven't come up with anything yet.

BIG-RAT avatar Feb 28 '24 17:02 BIG-RAT