dcloud git issues update

Edit, close or reopen an issue; replace its labels or assignees

IAM git:UpdateIssueChanges state

Synopsis

dcloud git issues update repoId number [flags]

Arguments

  • <repoId>Required

    string

    Also accepted as --repo-id. Constraints: uuid

  • <number>Required

    number

    Also accepted as --number. Constraints: integer, min 1

Flags

  • --titleOptional

    string

    The new title

    Constraints: 1-256 chars

  • --bodyOptional

    string

    The new description (Markdown); null clears it

    Constraints: max 65536 chars

    May be null.

  • --stateOptional

    enum

    `closed` closes the issue, `open` reopens it

    One of: open, closed

  • --state-reasonOptional

    enum

    Why it is closed; completed when absent

    One of: completed, not_planned

  • --labelsOptional

    array of string

    Replaces the labels; each name must exist in the repository

    Constraints: 1-50 chars

  • --assignee-iam-user-idsOptional

    array of string

    Replaces the assignees: IAM users of the organization

    Constraints: uuid

Example

dcloud git issues update repoId number

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