Skip to main content

Azure DevOps

53 commands. Toolkit id ooa.azure_devops.

CommandWhat it does
Add test cases to suiteAdd existing test case work items to a static suite.
Add work item commentAdd a comment to a work item's discussion.
Attach file to work itemUpload a local file and attach it to a work item.
Comment on pull requestStart a new comment thread on a pull request.
Complete pull requestMerge an active pull request into its target branch.
Complete test runMark a test run as completed, after its results are recorded, optionally with a comment.
ConnectSign in once with a saved connection: the later Azure DevOps steps of this agent use it unless they choose another.
Create pipelineCreate a YAML pipeline from a file in an Azure Repos Git repository.
Create pull requestPropose merging one branch into another, optionally linking work items.
Create test caseCreate a Test Case work item with numbered steps (action and expected result), optionally added to a suite.
Create test planCreate a test plan; its root suite is created with it.
Create test runStart 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 suiteCreate a static, requirement-based or query-based suite inside a plan's suite.
Create work itemCreate a work item such as a Bug, Task or User Story.
Delete pipelineDelete a pipeline and its run history. Needs confirm.
Delete test planDelete a test plan with its suites (test cases stay as work items). Needs confirm.
Delete test suiteDelete a suite and its child suites (test cases stay as work items).
Delete work itemMove a work item to the Recycle Bin, or remove it for good.
DisconnectForget the connection Connect chose; later Azure DevOps steps then use their own.
Edit pipelineRename 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 planRename a test plan, change its state, description, area, iteration or dates; empty inputs are kept.
Edit test suiteRename a suite, move it under another suite of the plan, or change a query-based suite's query.
Get buildRead the status and result of a build.
Get pipeline detailsRead a pipeline: name, folder, YAML file and repository.
Get pipeline runRead the state and result of a pipeline run.
Get projectRead a project's details.
Get pull requestRead a pull request by id.
Get test plan detailsRead one test plan.
Get test run detailsRead a test run: state, counts of passed, failed and incomplete tests, dates.
Get test suiteRead one test suite: its name, type, parent, test case count, requirement or query (G5).
Get work itemRead a work item by id.
List buildsList recent builds, newest first, optionally for one definition, branch, status or result.
List pipeline runsList the recent runs of one pipeline, newest first, optionally only those in a given state or with a given result.
List pipelinesList the pipelines of a project.
List projectsList the projects in the organization or collection.
List pull requestsList pull requests of a repository, filtered by status and target branch.
List repositoriesList the Git repositories of a project.
List sprint work itemsReturn 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 casesList the test cases of a suite, with their test points.
List test plansList the test plans of a project.
List test pointsList the test points of a suite (one per test case and configuration) with their latest outcome.
List test runsList the test runs of a project, newest first; optionally only those of one plan or in one state.
List test suitesList the suites of a test plan.
List work item commentsRead the comments in a work item's discussion, newest first.
Pipeline run finishedTrue 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 buildQueue a build of a build definition (classic or YAML) on a branch.
Remove test cases from suiteTake test cases out of a suite; the test case work items are kept.
Run pipelineStart a pipeline run on a branch, with optional parameters and variables, optionally skipping some stages.
Update test pointSet 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 resultsRecord 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 itemChange fields of a work item, such as its state or assignee. Only the inputs you fill in are changed.