Skip to content

[FR] Use Jamf Pro API for Computer Groups #294

@grahampugh

Description

@grahampugh

Is your feature request related to a problem? Please describe.
Jamf Pro 11.19.0 introduces a description field for Smart Groups. This has however not been added to the Classic API.

Describe the solution you'd like
A new Jamf Pro API endpoint, api/v1/computer-groups, can be used instead of the Classic API. This was first introduced in 11.9.0, albeit without the Description field. There is no specific endpoint for a specific ID, this is done via filtering.

Describe alternatives you've considered
None, the description field is not available in the Classic API.

Additional context
There are various problems that would need to be addressed if going ahead with this:

  1. There is not yet a Jamf Pro API endpoint for Static Computer Groups.
  2. There is a Jamf Pro API endpoint for Static Mobile Device Groups, but not for Smart Mobile Device Groups.
  3. Switching to the new API endpoint would break workflows for people running 11.8.0 or less, and a check for version would have to be added to determine whether to include the description in the uploaded template.
  4. All templates would have to be switched from XML to JSON, which would be a huge breaking change for everyone.

Based on the above (especially point 4), I wonder whether it's worth introducing a new processor that uses the JPAPI which people can switch to when they are ready, rather than amending the existing one and shoehorning in lots of version checks and different workflows.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions