dcloud errors issues update

Resolve, reopen, ignore or assign issues

IAM errors:UpdateIssueChanges state

Synopsis

dcloud errors issues update id --ids ids --action action

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --idsRequired

    array of number

    Issue numbers (the number in the issue’s URL, not the short id), 1–100. Numbers of another project are skipped

    Constraints: integer, min 1

  • --actionRequired

    object

    What to do, by type: {type: "resolve", inNextRelease?} (inNextRelease, default false, records each issue’s latest release as the one it is resolved in); {type: "unresolve"}; {type: "ignore", forMinutes?, untilCount?} (forMinutes 1–525 600, untilCount 1–1 000 000 000 more events; both null by default, which ignores forever); {type: "assign", iamUserId} (an IAM user id of your organization, else 400; null unassigns)

    Constraints: JSON

Example

dcloud errors issues update id --ids '[1]' --action '{}'

Generated from the API description, the same one the API checks requests against and the CLI is built from.