dcloud errors views createSave a view of a project’s issues
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>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--nameRequiredstring
Name, 1–60 characters
Constraints: 1-60 chars
--queryOptionalstring
The search, in the issue list’s syntax (is:unresolved level:error …)
Constraints: max 500 chars
Default:
""--sortOptionalenum
Sort; default attention
One of:
attention,last_seen,first_seen,events,usersDefault:
"attention"--environmentOptionalstring
Environment the view opens with; null keeps whatever the bar shows
Constraints: max 64 chars
Default:
nullMay be null.
--rangeOptionalenum
Time range the view opens with (1h, 24h, 7d, 14d, 30d, 90d); null keeps the bar’s
One of:
1h,24h,7d,14d,30d,90dDefault:
nullMay be null.
--hidden-columnsOptionalarray of string
Column ids the view hides
Constraints: max 40 chars
Default:
[]--sharedOptionalboolean (--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 exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.