Loading...
Loading...
Compare original and translation side by side
az boardsazazure-devopsaz boardsazazure-devops--project <name>az devops configure --list | grep project--project <name>az devops configure --list | grep projectaz boards query --wiql "SELECT [System.Id], [System.Title], [System.State], [System.AssignedTo] FROM WorkItems WHERE [System.WorkItemType] = 'Epic' AND [System.TeamProject] = '@project' ORDER BY [System.Id]" --project <project> -o jsonaz boards work-item show --id <epic_id> --expand relations -o jsonrelationsrel == "System.LinkTypes.Hierarchy-Forward"urlidfieldsEpic #1234 [Active] - Platform Modernization (Assigned: Alice)
Feature #1235 [Active] - Migrate to new API (Assigned: Bob)
Story #1240 [New] - Implement auth endpoint (Assigned: Carol)
Task #1241 [Active] - Write unit tests (Assigned: Dave)
Feature #1236 [Resolved] - Update CI pipeline (Assigned: Eve)az boards query --wiql "SELECT [System.Id], [System.Title], [System.State], [System.AssignedTo] FROM WorkItems WHERE [System.WorkItemType] = 'Epic' AND [System.TeamProject] = '@project' ORDER BY [System.Id]" --project <project> -o jsonaz boards work-item show --id <epic_id> --expand relations -o jsonrelationsrel == "System.LinkTypes.Hierarchy-Forward"urlidfieldsEpic #1234 [Active] - 平台现代化(负责人:Alice)
Feature #1235 [Active] - 迁移至新API(负责人:Bob)
Story #1240 [New] - 实现认证端点(负责人:Carol)
Task #1241 [Active] - 编写单元测试(负责人:Dave)
Feature #1236 [Resolved] - 更新CI流水线(负责人:Eve)az boards query --wiql "SELECT [System.Id], [System.Title], [System.State] FROM WorkItems WHERE [System.WorkItemType] = 'Epic' AND [System.Title] CONTAINS '<search_term>' AND [System.TeamProject] = '@project'" --project <project> -o jsonaz boards work-item show --id <epic_id> --expand relations -o jsonaz boards query --wiql "SELECT [System.Id], [System.Title], [System.State] FROM WorkItems WHERE [System.WorkItemType] = 'Epic' AND [System.Title] CONTAINS '<search_term>' AND [System.TeamProject] = '@project'" --project <project> -o jsonaz boards work-item show --id <epic_id> --expand relations -o jsonaz boards query --wiql "SELECT [System.Id], [System.Title], [System.State] FROM WorkItems WHERE [System.WorkItemType] = 'Feature' AND [System.Title] CONTAINS '<search_term>' AND [System.TeamProject] = '@project'" --project <project> -o jsonaz boards work-item show --id <feature_id> --expand relations -o jsonHierarchy-ForwardHierarchy-ForwardUser Story #2001 [Active] - As a user I can login (Assigned: Alice)
Task #2010 [Active] - Implement login API (Assigned: Bob)
Task #2011 [New] - Write login tests (Assigned: Carol)
User Story #2002 [New] - As a user I can reset password (Assigned: Dave)
Task #2020 [New] - Design reset flow (Assigned: Eve)az boards query --wiql "SELECT [System.Id], [System.Title], [System.State] FROM WorkItems WHERE [System.WorkItemType] = 'Feature' AND [System.Title] CONTAINS '<search_term>' AND [System.TeamProject] = '@project'" --project <project> -o jsonaz boards work-item show --id <feature_id> --expand relations -o jsonHierarchy-ForwardHierarchy-ForwardUser Story #2001 [Active] - 作为用户,我可以登录(负责人:Alice)
Task #2010 [Active] - 实现登录API(负责人:Bob)
Task #2011 [New] - 编写登录测试(负责人:Carol)
User Story #2002 [New] - 作为用户,我可以重置密码(负责人:Dave)
Task #2020 [New] - 设计重置流程(负责人:Eve)| Field | Default |
|---|---|
| Assigned To | Current logged-in user (resolve via |
| Area Path | |
| Iteration Path | |
| Effort | |
| Description | |
| 字段 | 默认值 |
|---|---|
| 负责人 | 当前登录用户(通过 |
| 区域路径 | |
| 迭代路径 | |
| 工作量 | |
| 描述 | |
Microsoft.VSTS.Scheduling.EffortMicrosoft.VSTS.Scheduling.StoryPointsMicrosoft.VSTS.Scheduling.OriginalEstimateMicrosoft.VSTS.Scheduling.EffortMicrosoft.VSTS.Scheduling.StoryPointsMicrosoft.VSTS.Scheduling.OriginalEstimateundefinedundefined
**Example — Task description:**
```markdown
**示例——任务描述:**
```markdown
If the user does not provide a description, use the default `TBD`.
如果用户未提供描述,使用默认值`TBD`。NLASTIC\Data Engineeringaz boards area project list --project NLASTIC --depth 3 -o jsonpathchildrenData EngineeringNLASTIC\Data EngineeringNLASTIC\Data Engineeringaz boards area project list --project NLASTIC --depth 3 -o jsonpathchildrenData EngineeringNLASTIC\Data EngineeringNLASTICaz boards iteration team list --team "Data Engineering" --project NLASTIC -o jsonpathattributes.startDateattributes.finishDateNLASTIC\March 2026NLASTICaz boards iteration team list --team "Data Engineering" --project NLASTIC -o jsonpathattributes.startDateattributes.finishDateNLASTIC\March 2026About to create:
Type: Feature
Title: Migrate to new API
Assigned To: bnachlieli@nvidia.com (from az account)
Area Path: NLASTIC\Data Engineering
Iteration Path: NLASTIC
Effort: 2 story points (= 2 working days / 12 net hours)
Priority: 2
Parent: Epic #1234
Description: TBD
Proceed? (yes / no / edit fields)即将创建:
类型: Feature
标题: 迁移至新API
负责人: bnachlieli@nvidia.com (来自az account)
区域路径: NLASTIC\Data Engineering
迭代路径: NLASTIC
工作量: 2个故事点 (= 2个工作日 / 12个净工作小时)
优先级: 2
父项: Epic #1234
描述: TBD
是否继续?(是/否/编辑字段)az boards work-item create \
--type "<Type>" \
--title "<Title>" \
--project "<Project>" \
--fields "System.AssignedTo=<user>" \
"System.IterationPath=<iteration>" \
"System.AreaPath=<area>" \
"System.Tags=<tags>" \
"Microsoft.VSTS.Common.Priority=<1-4>" \
-o json "Microsoft.VSTS.Scheduling.Effort=<story_points>" "Microsoft.VSTS.Scheduling.StoryPoints=<story_points>" "Microsoft.VSTS.Scheduling.OriginalEstimate=<hours>"idaz boardsmultilineFieldsFormataz rest --method patch \
--uri "https://dev.azure.com/<org>/<project>/_apis/wit/workitems/<id>?api-version=7.1-preview.3" \
--resource "499b84ac-1321-427f-aa17-267ca6975798" \
--headers "Content-Type=application/json-patch+json" \
--body '[
{"op": "add", "path": "/fields/System.Description", "value": "<markdown_description>"},
{"op": "add", "path": "/multilineFieldsFormat/System.Description", "value": "Markdown"}
]'<org><project>az devops configure --list--resourceaz restaz boards work-item create \
--type "<Type>" \
--title "<Title>" \
--project "<Project>" \
--fields "System.AssignedTo=<user>" \
"System.IterationPath=<iteration>" \
"System.AreaPath=<area>" \
"System.Tags=<tags>" \
"Microsoft.VSTS.Common.Priority=<1-4>" \
-o json "Microsoft.VSTS.Scheduling.Effort=<story_points>" "Microsoft.VSTS.Scheduling.StoryPoints=<story_points>" "Microsoft.VSTS.Scheduling.OriginalEstimate=<hours>"idaz boardsmultilineFieldsFormataz rest --method patch \
--uri "https://dev.azure.com/<org>/<project>/_apis/wit/workitems/<id>?api-version=7.1-preview.3" \
--resource "499b84ac-1321-427f-aa17-267ca6975798" \
--headers "Content-Type=application/json-patch+json" \
--body '[
{"op": "add", "path": "/fields/System.Description", "value": "<markdown_description>"},
{"op": "add", "path": "/multilineFieldsFormat/System.Description", "value": "Markdown"}
]'<org><project>az devops configure --list--resourceaz restaz boards work-item relation add \
--id <new_item_id> \
--relation-type Parent \
--target-id <parent_id>az boards work-item relation add \
--id <new_item_id> \
--relation-type Parent \
--target-id <parent_id>bufferAbout to create:
1) Feature: "Migrate to new API" (Effort: 2 SP, parent: Epic #1234)
2) User Story: "Migrate to new API" (Story Points: 2, parent: the new Feature)
3) Task: "buffer" (Original Estimate: 12h, parent: the new User Story)
Proceed? (yes / no / edit fields)buffer即将创建:
1) Feature: "迁移至新API" (工作量: 2个故事点, 父项: Epic #1234)
2) User Story: "迁移至新API" (故事点: 2, 父项: 新创建的Feature)
3) Task: "buffer" (初始估算: 12小时, 父项: 新创建的User Story)
是否继续?(是/否/编辑字段)az boards query --wiql "SELECT [System.Id], [System.Title], [System.State], [System.WorkItemType] FROM WorkItems WHERE [System.Title] CONTAINS '<search_term>' AND [System.TeamProject] = '@project'" --project <project> -o jsonaz boards query --wiql "SELECT [System.Id], [System.Title], [System.State], [System.WorkItemType] FROM WorkItems WHERE [System.Title] CONTAINS '<search_term>' AND [System.TeamProject] = '@project'" --project <project> -o jsonAbout to update #2001:
Field Current New
State New Active
Priority 3 2
Proceed? (yes / no / edit fields)即将更新#2001:
字段 当前值 新值
状态 New Active
优先级 3 2
是否继续?(是/否/编辑字段)az boards work-item update \
--id <id> \
--fields "System.Title=<new_title>" \
"System.State=<new_state>" \
"System.AssignedTo=<user>" \
"Microsoft.VSTS.Common.Priority=<1-4>"az rest --method patch \
--uri "https://dev.azure.com/<org>/<project>/_apis/wit/workitems/<id>?api-version=7.1-preview.3" \
--resource "499b84ac-1321-427f-aa17-267ca6975798" \
--headers "Content-Type=application/json-patch+json" \
--body '[
{"op": "replace", "path": "/fields/System.Description", "value": "<markdown_description>"},
{"op": "add", "path": "/multilineFieldsFormat/System.Description", "value": "Markdown"}
]'"op": "replace""op": "add"az boards work-item update \
--id <id> \
--fields "System.Title=<new_title>" \
"System.State=<new_state>" \
"System.AssignedTo=<user>" \
"Microsoft.VSTS.Common.Priority=<1-4>"az rest --method patch \
--uri "https://dev.azure.com/<org>/<project>/_apis/wit/workitems/<id>?api-version=7.1-preview.3" \
--resource "499b84ac-1321-427f-aa17-267ca6975798" \
--headers "Content-Type=application/json-patch+json" \
--body '[
{"op": "replace", "path": "/fields/System.Description", "value": "<markdown_description>"},
{"op": "add", "path": "/multilineFieldsFormat/System.Description", "value": "Markdown"}
]'"op": "replace""op": "add"| Type | States |
|---|---|
| Epic / Feature | New, Active, Resolved, Closed |
| User Story | New, Active, Resolved, Closed |
| Task | New, Active, Closed |
| 类型 | 状态 |
|---|---|
| Epic / Feature | New, Active, Resolved, Closed |
| 用户故事 | New, Active, Resolved, Closed |
| 任务 | New, Active, Closed |
| Task | Command |
|---|---|
| Query work items | |
| Show work item | |
| Create work item | |
| Update work item | |
| Link parent | |
| List area paths | |
| List iterations | |
| 任务 | 命令 |
|---|---|
| 查询工作项 | |
| 查看工作项详情 | |
| 创建工作项 | |
| 更新工作项 | |
| 关联父项 | |
| 列出区域路径 | |
| 列出迭代周期 | |