Repository navigation
Add support for replicating Jamf App Installers - #137
Open
Jordy Thery (JordyThery) wants to merge 1 commit into
Open
Jordy Thery (JordyThery) wants to merge 1 commit into
Jordy Thery (JordyThery) wants to merge 1 commit into
Conversation
Adds "App Installers" as a selectable object type on the macOS tab and in selective migration, using the Jamf Pro API v1/app-installers/deployments endpoints. Deployment records are copied between servers with the category, site, smart computer group, and Self Service category ids remapped by name on the destination server. Deployments whose smart group cannot be found on the destination are created without a scope and disabled. Supports bulk and selective replication, export to and import from files, and removal. Resolves jamf#105 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Jordy Thery (JordyThery)
marked this pull request as ready for review
October 3, 2026 13:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for replicating Jamf App Installers between servers, as requested in #105.
"App Installers" appears as a new object type on the macOS tab (bulk) and in the selective migration dropdown. Deployments are read from the source via the Jamf Pro API (
/api/v1/app-installers/deployments) and created/updated on the destination with their dependencies remapped by name:Read-only fields (
id,titleAvailableInAis,selectedVersion,latestAvailableVersion,versionRemoved) are stripped before POST/PUT. App title ids are passed through unchanged since both servers share the Jamf-hosted App Installers catalog.Implementation
Follows the existing patterns in the codebase:
api-roles/api-integrations(paged Jamf Pro API viaJpapi.getAll/pagedGet,AppInstallermodel + source/destination caches inJsonObjects.swift)AppInstallersDelegate.swift(mirrorsPatchDelegate.swift) fetches categories, sites, and computer groups from both servers before processingcategoryName,siteName,smartGroupName, Self Service category names) so file-based import can remap ids on a different destination serverSupported workflows
-objects app-installers, included inallobjects)Testing
Tested against two Jamf Pro cloud instances:
Resolves #105
🤖 Generated with Claude Code