az boards work-item relation

Manage work item relations.

Commands

az boards work-item relation add

Add relation(s) to work item.

az boards work-item relation list-type

List work item relations supported in the organization.

az boards work-item relation remove

Remove relation(s) from work item.

az boards work-item relation show

Get work item, fill relations with friendly name.

az boards work-item relation add

Add relation(s) to work item.

az boards work-item relation add --id
                                 --relation-type
                                 --target-id
                                 [--detect {false, true}]
                                 [--org]

Required Parameters

--id

The ID of the work item.

--relation-type

Relation type to create. Example: parent, child.

--target-id

ID(s) of work-items to create relation with. Multiple values can be passed comma separated. Example: 1,2.

Optional Parameters

--detect

Automatically detect organization.

accepted values: false, true
--org --organization

Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.

az boards work-item relation list-type

List work item relations supported in the organization.

az boards work-item relation list-type [--detect {false, true}]
                                       [--org]

Optional Parameters

--detect

Automatically detect organization.

accepted values: false, true
--org --organization

Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.

az boards work-item relation remove

Remove relation(s) from work item.

az boards work-item relation remove --id
                                    --relation-type
                                    --target-id
                                    [--detect {false, true}]
                                    [--org]
                                    [--yes]

Required Parameters

--id

The ID of the work item.

--relation-type

Relation type to remove. Example: parent, child.

--target-id

ID(s) of work-items to remove relation from. Multiple values can be passed comma separated. Example: 1,2.

Optional Parameters

--detect

Automatically detect organization.

accepted values: false, true
--org --organization

Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.

--yes -y

Do not prompt for confirmation.

az boards work-item relation show

Get work item, fill relations with friendly name.

az boards work-item relation show --id
                                  [--detect {false, true}]
                                  [--org]

Required Parameters

--id

The ID of the work item.

Optional Parameters

--detect

Automatically detect organization.

accepted values: false, true
--org --organization

Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.