dcloud errors views create

Save a view of a project’s issues

IAM errors:ManageSharedIssueViewsChanges state

A personal view needs only errors:ListIssues on the project; shared: true needs errors:ManageSharedIssueViews too. Pass its id as `view` to issues list.

Synopsis

dcloud errors views create id --name name [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --nameRequired

    string

    Name, 1–60 characters

    Constraints: 1-60 chars

  • --queryOptional

    string

    The search, in the issue list’s syntax (is:unresolved level:error …)

    Constraints: max 500 chars

    Default: ""

  • --sortOptional

    enum

    Sort; default attention

    One of: attention, last_seen, first_seen, events, users

    Default: "attention"

  • --environmentOptional

    string

    Environment the view opens with; null keeps whatever the bar shows

    Constraints: max 64 chars

    Default: null

    May be null.

  • --rangeOptional

    enum

    Time range the view opens with (1h, 24h, 7d, 14d, 30d, 90d); null keeps the bar’s

    One of: 1h, 24h, 7d, 14d, 30d, 90d

    Default: null

    May be null.

  • --hidden-columnsOptional

    array of string

    Column ids the view hides

    Constraints: max 40 chars

    Default: []

  • --sharedOptional

    boolean (--shared / --no-shared)

    Share with the organization (everyone who may list the project’s issues sees it); needs errors:ManageSharedIssueViews

    Default: false

Example

dcloud errors views create id --name example

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