Skip to content

Enhancement: extend planner task get with more options #3229

@Jwaegebaert

Description

@Jwaegebaert

Within the planner aspect, there are typically more options provided on get level with the ability to retrieve it by plannerName, bucketName, etc. I think it could be interesting to align planner task get with this capability. Then we would get the following options.

Option Description
-i, --id [id] ID of the task. Specify either id or title but not both. When you specify the task ID, you no longer need to provide the information for bucket, plan, and ownerGroup.
-t, --title [title] Title of the task. Specify either id or title but not both.
--bucketId [bucketId] Bucket ID to which the task belongs. Specify bucketId or bucketName when using title.
--bucketName [bucketName] Bucket Name to which the task belongs. Specify bucketId or bucketName when using title.
--planId [planId] Plan ID to which the task belongs. Specify planId or planName when using bucketName.
--planName [planName] Plan Name to which the task belongs. Specify planId or planName when using bucketName.
--ownerGroupId [ownerGroupId] ID of the group to which the plan belongs. Specify ownerGroupId or ownerGroupName when using planName.
--ownerGroupName [ownerGroupName] Name of the group to which the plan belongs. Specify ownerGroupId or ownerGroupName when using planName.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions