Skip to content

Can't update computer-prestages #231

Description

@ckay-unsw

Even when I try a basic update to a computer pre-stage like in your --help examples I get the following error:

echo '{"name":"Test 2"}' | jamf-cli pro computer-prestages update 100
{
  "error": "general",
  "exitCode": 1,
  "message": "request failed (HTTP 500): {\n  \"httpStatus\" : 500,\n  \"errors\" : [ ]\n}"
}

More complex updates get the same error:

jamf-cli pro computer-prestages get --name "${PreStageName}" -o json | jq --arg packageId "$PackageID" '.customPackageIds = [$packageId]' | jamf-cli pro computer-prestages update --name "${PreStageName}"
{
  "error": "general",
  "exitCode": 1,
  "message": "request failed (HTTP 500): {\n  \"httpStatus\" : 500,\n  \"errors\" : [ ]\n}"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededwontfixThis will not be worked on

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions