Azure DevOps
53 commands. Toolkit id ooa.azure_devops.
| Command | What it does |
|---|---|
| Add test cases to suite | Add existing test case work items to a static suite. |
| Add work item comment | Add a comment to a work item's discussion. |
| Attach file to work item | Upload a local file and attach it to a work item. |
| Comment on pull request | Start a new comment thread on a pull request. |
| Complete pull request | Merge an active pull request into its target branch. |
| Complete test run | Mark a test run as completed, after its results are recorded, optionally with a comment. |
| Connect | Sign in once with a saved connection: the later Azure DevOps steps of this agent use it unless they choose another. |
| Create pipeline | Create a YAML pipeline from a file in an Azure Repos Git repository. |
| Create pull request | Propose merging one branch into another, optionally linking work items. |
| Create test case | Create a Test Case work item with numbered steps (action and expected result), optionally added to a suite. |
| Create test plan | Create a test plan; its root suite is created with it. |
| Create test run | Start a test run for test points of a plan, so their results can be recorded; manual by default, or automated and linked to a build. |
| Create test suite | Create a static, requirement-based or query-based suite inside a plan's suite. |
| Create work item | Create a work item such as a Bug, Task or User Story. |
| Delete pipeline | Delete a pipeline and its run history. Needs confirm. |
| Delete test plan | Delete a test plan with its suites (test cases stay as work items). Needs confirm. |
| Delete test suite | Delete a suite and its child suites (test cases stay as work items). |
| Delete work item | Move a work item to the Recycle Bin, or remove it for good. |
| Disconnect | Forget the connection Connect chose; later Azure DevOps steps then use their own. |
| Edit pipeline | Rename a pipeline, move it to another folder, or point it at a different YAML file or Azure Repos repository (the YAML content itself is changed in the repository). |
| Edit test plan | Rename a test plan, change its state, description, area, iteration or dates; empty inputs are kept. |
| Edit test suite | Rename a suite, move it under another suite of the plan, or change a query-based suite's query. |
| Get build | Read the status and result of a build. |
| Get pipeline details | Read a pipeline: name, folder, YAML file and repository. |
| Get pipeline run | Read the state and result of a pipeline run. |
| Get project | Read a project's details. |
| Get pull request | Read a pull request by id. |
| Get test plan details | Read one test plan. |
| Get test run details | Read a test run: state, counts of passed, failed and incomplete tests, dates. |
| Get test suite | Read one test suite: its name, type, parent, test case count, requirement or query (G5). |
| Get work item | Read a work item by id. |
| List builds | List recent builds, newest first, optionally for one definition, branch, status or result. |
| List pipeline runs | List the recent runs of one pipeline, newest first, optionally only those in a given state or with a given result. |
| List pipelines | List the pipelines of a project. |
| List projects | List the projects in the organization or collection. |
| List pull requests | List pull requests of a repository, filtered by status and target branch. |
| List repositories | List the Git repositories of a project. |
| List sprint work items | Return the ids of the work items planned in a sprint; read details with Get work item or Query work items. |
| List sprints (iterations) | List a team's sprints, or only the current one. |
| List test cases | List the test cases of a suite, with their test points. |
| List test plans | List the test plans of a project. |
| List test points | List the test points of a suite (one per test case and configuration) with their latest outcome. |
| List test runs | List the test runs of a project, newest first; optionally only those of one plan or in one state. |
| List test suites | List the suites of a test plan. |
| List work item comments | Read the comments in a work item's discussion, newest first. |
| Pipeline run finished | True when the pipeline run has completed, whatever its result. |
| Query work items (WIQL) | Find work items with a WIQL query and return their main fields as a table. |
| Queue build | Queue a build of a build definition (classic or YAML) on a branch. |
| Remove test cases from suite | Take test cases out of a suite; the test case work items are kept. |
| Run pipeline | Start a pipeline run on a branch, with optional parameters and variables, optionally skipping some stages. |
| Update test point | Set the outcome of test points (passed, failed, blocked, not applicable), reset them to active, or assign them to a tester, e.g. after a manual check done by an agent. |
| Update test results | Record the outcome of tests in a run: one row per result, with its outcome and, if you like, a comment, how long it took and an error. |
| Update work item | Change fields of a work item, such as its state or assignee. Only the inputs you fill in are changed. |