Skip to content

Can't update computer-prestages #231

@ckay-unsw

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}"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededwontfixThis will not be worked on

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions