Azure DevOps
JSON →Interact with Azure DevOps Work Items using the Azure DevOps REST API.
Tools · 13
- create_work_item 在 Azure DevOps 中建立新的 Work Item (例如 User Story, Bug, Task)。必要參數:type, title。可選參數:projectName, description, areaPath, iterationPath, assignedTo, tags。
- get_work_item_details 根據 ID 取得 Azure DevOps Work Item 的詳細資訊。必要參數:id。可選參數:fields, summarize。
- update_work_item 更新現有 Azure DevOps Work Item 的欄位 (例如狀態、指派對象)。必要參數:id, updates。可選參數:comment。
- delete_work_item 刪除指定的 Azure DevOps Work Item 並將其移至回收站。必要參數:id。可選參數:destroy, projectName。
- get_work_items_batch 批次獲取多個 Azure DevOps Work Items(最多200個)。必要參數:ids。可選參數:fields, asOf, expand。
- batch_update_work_items 批次更新多個 Azure DevOps Work Items。可在單一請求中執行多個建立、更新或刪除操作。必要參數:operations。可選參數:bypassRules, suppressNotifications。
- search_work_items 搜尋 Azure DevOps Work Items。提供多樣化的篩選條件和排序選項。可選參數:query, projectName, workItemType, state, assignedTo, tags, createdAfter, updatedAfter, fields, orderBy, top。
- list_projects 列出 Azure DevOps 組織中的所有專案。
- get_project_details 根據專案 ID 或名稱取得 Azure DevOps 專案的詳細資訊。必要參數:projectIdOrName。
- link_commit_to_work_item 將 Git Commit 連結到 Azure DevOps Work Item。必要參數:workItemId, commitSha, repositoryName。可選參數:projectName, comment。
- link_parent_work_item 建立 Work Item 父子關聯(將 childId 設定 parentId 為父項)。必要參數:childId, parentId。可選參數:comment。
- list_work_item_attachments 獲取指定 Azure DevOps Work Item 的附件列表,包含下載 URL。必要參數:workItemId。可選參數:projectName。
- add_issue_comment 為現有的 Azure DevOps Work Item 添加評論。必要參數:workItemId, comment。
Environment variables
AZURE_DEVOPS_ORG_URLYOUR_ORG_URLYOUR_PERSONAL_ACCESS_TOKEN