Use Azure DevOps to inspect pipelines and run history, retrieve build timelines and logs, and manage work items and comments.
Compare work items between builds to prepare release notes or investigate a regression.
Run WIQL queries to return hydrated work item fields, rather than IDs alone.
Create or update work items with titles, descriptions, priority, assignees, area paths, iterations, tags, effort, and dates.
Start workflows from service hooks when builds fail or work items are created.
List and inspect pipelines and builds, query and manage work items, and add or read comments.
List all pipelines in an Azure DevOps project. Returns pipeline ID, name, folder, revision, and URL.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name orderBystring No Field to sort results by (e.g. "name") topnumber No Maximum number of pipelines to return continuationTokenstring No Continuation token for paginating results
Parameter Type Description contentstring Human-readable summary of pipelines metadataobject Pipelines metadata ↳ count number Total number of pipelines returned ↳ pipelines array Array of pipeline objects ↳ id number Pipeline ID ↳ name string Pipeline name ↳ folder string Folder path (e.g. "\\") ↳ revision number Pipeline revision number ↳ url string Pipeline API URL
Get details for a specific pipeline in an Azure DevOps project, including configuration and repository info.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name pipelineIdnumber Yes ID of the pipeline to retrieve pipelineVersionnumber No Specific revision of the pipeline to retrieve (defaults to latest)
Parameter Type Description contentstring Human-readable summary of the pipeline metadataobject Pipeline detail metadata ↳ pipeline object Full pipeline detail object ↳ id number Pipeline ID ↳ name string Pipeline name ↳ folder string Folder path ↳ revision number Pipeline revision number ↳ url string Pipeline API URL ↳ configuration object Pipeline configuration ↳ type string Configuration type (e.g. "yaml") ↳ path string YAML file path in the repository ↳ repository object Source repository info ↳ id string Repository ID ↳ type string Repository type (e.g. "azureReposGit") ↳ links object Hypermedia links ↳ self string API self-link ↳ web string Browser URL for the pipeline
List runs for a specific pipeline in an Azure DevOps project. Returns run ID, name, state, result, and timestamps.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name pipelineIdnumber Yes ID of the pipeline whose runs to list
Parameter Type Description contentstring Human-readable summary of pipeline runs metadataobject Pipeline runs metadata ↳ count number Total number of runs returned ↳ runs array Array of pipeline run objects ↳ id number Run ID ↳ name string Run name (e.g. "20210601.1") ↳ state string Run state (e.g. "completed", "inProgress") ↳ result string Run result (e.g. "succeeded", "failed") — absent if still running ↳ createdDate string ISO 8601 creation timestamp ↳ finishedDate string ISO 8601 finish timestamp — absent if still running ↳ url string Run API URL ↳ webUrl string Browser URL for the run
Get details for a specific pipeline run in an Azure DevOps project. Returns run state, result, timestamps, and the pipeline reference.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name pipelineIdnumber Yes ID of the pipeline runIdnumber Yes ID of the run to retrieve
Parameter Type Description contentstring Human-readable summary of the pipeline run metadataobject Pipeline run metadata ↳ run object Full pipeline run detail object ↳ id number Run ID ↳ name string Run name (e.g. "20210601.1") ↳ state string Run state (e.g. "completed", "inProgress") ↳ result string Run result (e.g. "succeeded", "failed") — absent if still running ↳ createdDate string ISO 8601 creation timestamp ↳ finishedDate string ISO 8601 finish timestamp — absent if still running ↳ url string Run API URL ↳ webUrl string Browser URL for the run ↳ pipeline object Pipeline reference ↳ id number Pipeline ID ↳ name string Pipeline name ↳ folder string Pipeline folder ↳ revision number Pipeline revision number ↳ url string Pipeline API URL
List builds in an Azure DevOps project. Optionally filter by pipeline definition, status, result, or branch.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name definitionIdsstring No Comma-separated pipeline definition IDs to filter by (e.g. "1,2,3") topnumber No Maximum number of builds to return statusFilterstring No Filter by build status: inProgress, completed, cancelling, postponed, notStarted, none resultFilterstring No Filter by build result: succeeded, partiallySucceeded, failed, canceled branchNamestring No Filter by source branch name (e.g. "refs/heads/main")
Parameter Type Description contentstring Human-readable summary of builds metadataobject Builds metadata ↳ count number Total number of builds returned ↳ builds array Array of build objects ↳ id number Build ID ↳ buildNumber string Build number (e.g. "20210601.1") ↳ status string Build status (e.g. "completed", "inProgress") ↳ result string Build result (e.g. "succeeded", "failed") — absent if still running ↳ queueTime string ISO 8601 queue timestamp ↳ startTime string ISO 8601 start timestamp ↳ finishTime string ISO 8601 finish timestamp — absent if still running ↳ sourceBranch string Source branch (e.g. "refs/heads/main") ↳ sourceVersion string Source commit SHA ↳ definition object Pipeline definition reference ↳ id number Definition ID ↳ name string Definition name ↳ webUrl string Browser URL for the build
List all log entries for a specific build in Azure DevOps. Returns log IDs, types, and line counts — use the log ID with the Get Build Log tool to fetch actual log text.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name buildIdnumber Yes The build ID whose logs to list
Parameter Type Description contentstring Human-readable summary of build logs metadataobject Build logs metadata ↳ count number Total number of log entries returned ↳ logs array Array of log entry objects ↳ id number Log entry ID — use with Get Build Log to fetch content ↳ type string Log type (e.g. "Container", "Task", "Section") ↳ url string API URL for the log entry ↳ lineCount number Number of lines in the log ↳ createdOn string ISO 8601 creation timestamp ↳ lastChangedOn string ISO 8601 last-changed timestamp
Fetch the text content of a specific build log in Azure DevOps. Use List Build Logs first to get the log ID. Optionally retrieve only a line range with startLine/endLine.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name buildIdnumber Yes The build ID containing the log logIdnumber Yes The log entry ID to fetch (from List Build Logs) startLinenumber No First line to return (1-based, inclusive) endLinenumber No Last line to return (1-based, inclusive)
Parameter Type Description contentstring Raw log text metadataobject Log metadata ↳ lineCount number Number of lines in the returned log text
Get the execution timeline for an Azure DevOps build — every stage, job, and task with its result and log ID. Use this to identify which steps failed before fetching their logs with Get Build Log.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name buildIdnumber Yes ID of the build whose timeline to retrieve
Parameter Type Description contentstring Summary of the build timeline, highlighting failed steps metadataobject Build timeline metadata ↳ totalCount number Total number of timeline records ↳ failedCount number Number of failed records ↳ records array All timeline records (stages, jobs, tasks) ↳ id string Record GUID ↳ name string Step name (e.g. "Run tests") ↳ type string Stage | Phase | Job | Task ↳ result string succeeded | failed | skipped | canceled | null ↳ logId number Log ID to pass to Get Build Log, or null ↳ errorCount number Number of errors ↳ warningCount number Number of warnings ↳ startTime string ISO 8601 start timestamp ↳ finishTime string ISO 8601 finish timestamp ↳ failedRecords array Subset of records where result is failed, partiallySucceeded, or succeededWithIssues — use logId to fetch logs ↳ id string Record GUID ↳ name string Step name ↳ type string Stage | Phase | Job | Task ↳ result string failed ↳ logId number Log ID to pass to Get Build Log ↳ errorCount number Number of errors ↳ warningCount number Number of warnings ↳ startTime string ISO 8601 start timestamp ↳ finishTime string ISO 8601 finish timestamp
Get work item references associated with commits between two builds in Azure DevOps. Returns work item IDs and URLs — use Get Work Items Batch for full field details.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name fromBuildIdnumber Yes The older build ID (start of range) toBuildIdnumber Yes The newer build ID (end of range)
Parameter Type Description contentstring Human-readable summary of work items between builds metadataobject Work items metadata ↳ count number Total number of work item references returned ↳ workItems array Array of work item references ↳ id string Work item ID ↳ url string API URL for the work item
Execute a WIQL query to search for work items in Azure DevOps and return full field details. Use TOP N in your query to limit results (Azure enforces a 200-item maximum per batch fetch).
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name wiqlQuerystring Yes WIQL query string (e.g. "SELECT [System.Id] FROM workitems WHERE [System.State] = 'Doing' ORDER BY [System.Id] ASC"). Use TOP N to limit results.
Parameter Type Description contentstring Human-readable summary of matching work items metadataobject Work items metadata ↳ count number Number of work items returned (after hydration) ↳ totalMatched number Total number of work items matched by the WIQL query before hydration ↳ workItems array Array of work item details ↳ id number Work item ID ↳ title string Work item title ↳ state string Current state for Basic process (e.g. To Do, Doing, Done) ↳ workItemType string Work item type returned by Azure DevOps (e.g. Issue, Task, Epic) ↳ assignedTo string Display name of assigned user, or null if unassigned ↳ areaPath string Area path of the work item ↳ url string API URL for the work item
Fetch full details of a single work item by ID from Azure DevOps, including title, state, type, assignee, and area path.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name workItemIdnumber Yes The work item ID to fetch
Parameter Type Description contentstring Human-readable summary of the work item metadataobject Work item metadata ↳ workItem object Full work item details ↳ id number Work item ID ↳ title string Work item title ↳ state string Current state for Basic process (e.g. To Do, Doing, Done) ↳ workItemType string Work item type returned by Azure DevOps (e.g. Issue, Task, Epic) ↳ assignedTo string Display name of assigned user, or null if unassigned ↳ areaPath string Area path of the work item ↳ url string API URL for the work item
Fetch full details for multiple work items by ID from Azure DevOps. Pass comma-separated IDs (e.g. "123,456,789"). Requests with more than 200 IDs are automatically split into chunks.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name idsstring Yes Comma-separated work item IDs to fetch (e.g. "123,456,789"). Lists longer than 200 IDs are chunked automatically.
Parameter Type Description contentstring Human-readable summary of the fetched work items metadataobject Work items metadata ↳ count number Number of work items returned ↳ totalRequested number Total number of IDs requested (across all chunks) ↳ workItems array Array of work item details ↳ id number Work item ID ↳ title string Work item title ↳ state string Current state for Basic process (e.g. To Do, Doing, Done) ↳ workItemType string Work item type returned by Azure DevOps (e.g. Issue, Task, Epic) ↳ assignedTo string Display name of assigned user, or null if unassigned ↳ areaPath string Area path of the work item ↳ url string API URL for the work item
Create a new Basic-process work item (Issue, Task, or Epic) in Azure DevOps. Returns the created work item with its assigned ID.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name workItemTypestring Yes Basic-process work item type to create ("Issue", "Task", or "Epic"). Use Issue for bug or defect tracking. titlestring Yes Title of the new work item descriptionstring No HTML description of the work item (optional) assignedTostring No Email or display name of the user to assign the work item to (optional) prioritynumber No Priority of the work item (1 = Critical, 2 = High, 3 = Medium, 4 = Low) effortnumber No Effort (Microsoft.VSTS.Scheduling.Effort). Basic process: Issue only. startDatestring No Start date (Microsoft.VSTS.Scheduling.StartDate), ISO 8601. Basic process: Epic only. targetDatestring No Target date (Microsoft.VSTS.Scheduling.TargetDate), ISO 8601. Basic process: Epic only. activitystring No Activity (Microsoft.VSTS.Common.Activity). One of Deployment, Design, Development, Documentation, Requirements, Testing. Basic process: Task only. remainingWorknumber No Remaining work hours (Microsoft.VSTS.Scheduling.RemainingWork). Basic process: Task only. completedWorknumber No Completed work hours (Microsoft.VSTS.Scheduling.CompletedWork). Basic process: Task only. areaPathstring No Area path for the work item, e.g. "MyProject\Team" (optional) iterationPathstring No Iteration path for the work item, e.g. "MyProject\Sprint 1" (optional) tagsstring No Semicolon-separated tags, e.g. "issue; p1; auth" (optional)
Parameter Type Description contentstring Human-readable summary of the created work item metadataobject Created work item metadata ↳ workItem object Full details of the created work item ↳ id number Assigned work item ID ↳ title string Work item title ↳ state string Initial state for Basic process (e.g. To Do, Doing, Done) ↳ workItemType string Work item type returned by Azure DevOps (e.g. Issue, Task, Epic) ↳ assignedTo string Display name of assigned user, or null if unassigned ↳ areaPath string Area path of the work item ↳ url string API URL for the created work item
Update one or more fields on an existing work item in Azure DevOps. Provide only the fields you want to change.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name workItemIdnumber Yes ID of the work item to update titlestring No New title for the work item (optional) descriptionstring No New HTML description for the work item (optional) assignedTostring No Email or display name to reassign the work item to (optional) areaPathstring No New area path for the work item (optional) prioritynumber No Priority of the work item (1 = Critical, 2 = High, 3 = Medium, 4 = Low) (optional) statestring No New state for Basic-process work items: "To Do", "Doing", or "Done" (optional) effortnumber No Effort (Microsoft.VSTS.Scheduling.Effort). Basic process: Issue only. startDatestring No Start date (Microsoft.VSTS.Scheduling.StartDate), ISO 8601. Basic process: Epic only. targetDatestring No Target date (Microsoft.VSTS.Scheduling.TargetDate), ISO 8601. Basic process: Epic only. activitystring No Activity (Microsoft.VSTS.Common.Activity). One of Deployment, Design, Development, Documentation, Requirements, Testing. Basic process: Task only. remainingWorknumber No Remaining work hours (Microsoft.VSTS.Scheduling.RemainingWork). Basic process: Task only. completedWorknumber No Completed work hours (Microsoft.VSTS.Scheduling.CompletedWork). Basic process: Task only. tagsstring No Semicolon-separated tags to set on the work item (optional)
Parameter Type Description contentstring Human-readable summary of the updated work item metadataobject Updated work item metadata ↳ workItem object Full details of the updated work item ↳ id number Work item ID ↳ title string Work item title ↳ state string Current state after update ↳ workItemType string Work item type returned by Azure DevOps (e.g. Issue, Task, Epic) ↳ assignedTo string Display name of assigned user, or null if unassigned ↳ areaPath string Area path of the work item ↳ url string API URL for the work item
Add a comment to a work item in Azure DevOps.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name workItemIdnumber Yes ID of the work item to comment on textstring Yes Comment text (HTML supported, e.g. "<p>My comment</p>")
Parameter Type Description contentstring Human-readable confirmation of the added comment metadataobject Added comment metadata ↳ comment object Full details of the created comment ↳ workItemId number Work item the comment belongs to ↳ commentId number Comment ID ↳ version number Comment version ↳ text string Comment text ↳ renderedText string Rendered HTML comment text when available ↳ createdBy string Display name of the comment author, or null ↳ createdDate string ISO timestamp when comment was created ↳ modifiedBy string Display name of the last modifier, or null ↳ modifiedDate string ISO timestamp when comment was modified ↳ isDeleted boolean Whether the comment is deleted ↳ url string API URL for the comment
List comments for an Azure DevOps work item.
Inputs and outputsParameter Type Required Description organizationstring Yes Azure DevOps organization name projectstring Yes Azure DevOps project name workItemIdnumber Yes ID of the work item whose comments should be listed topnumber No Maximum number of comments to return continuationTokenstring No Continuation token for paginating comments includeDeletedboolean No Whether deleted comments should be returned expandstring No Additional comment data to include: none, reactions, renderedText, renderedTextOnly, all orderstring No Sort order for comments: asc or desc
Parameter Type Description contentstring Human-readable summary of work item comments metadataobject Comments metadata ↳ count number Number of comments returned in this page ↳ totalCount number Total number of comments on the work item ↳ continuationToken string Continuation token for the next page ↳ nextPage string API URL for the next page ↳ url string API URL for this comments list ↳ comments array Array of work item comments ↳ workItemId number Work item ID ↳ commentId number Comment ID ↳ version number Comment version ↳ text string Comment text ↳ renderedText string Rendered HTML comment text when available ↳ createdBy string Display name of the comment author ↳ createdDate string ISO 8601 creation timestamp ↳ modifiedBy string Display name of the last modifier ↳ modifiedDate string ISO 8601 modified timestamp ↳ isDeleted boolean Whether the comment is deleted ↳ url string API URL for the comment
A trigger starts a workflow when a supported event occurs in this service.
Trigger workflow when an Azure DevOps build fails, is canceled, or partially succeeds
Parameter Type Description buildIdnumber Build ID buildNumberstring Build number string (e.g. 20240101.1) resultstring Build result: failed | canceled | partiallySucceeded pipelineIdnumber Pipeline definition ID pipelineNamestring Pipeline definition name projectNamestring Azure DevOps project name branchstring Source branch name (refs/heads/ prefix stripped) commitShastring Source commit SHA triggeredBystring Display name of the person who triggered the build triggeredByEmailstring Email/unique name of the person who triggered the build, or null if not set startTimestring Build start time (ISO 8601) finishTimestring Build finish time (ISO 8601) buildUrlstring API URL for the build resource
Trigger on whichever service hook event types you configure in Azure DevOps. Sim does not filter deliveries for this trigger.
Parameter Type Description eventTypestring Service hook event type (e.g. build.complete, workitem.created) notificationIdnumber Notification ID subscriptionIdstring Service hook subscription ID publisherIdstring Publisher ID (e.g. tfs) createdDatestring Event creation time (ISO 8601) resourcejson Event resource payload resourceContainersjson Resource container references (project, collection, etc.) messagejson Short message object detailedMessagejson Detailed message object
Trigger workflow when a work item is created in Azure DevOps
Parameter Type Description workItemIdnumber Work item ID workItemTypestring Work item type for Basic process (e.g. Issue, Task, Epic) titlestring Work item title statestring Work item state for Basic process (e.g. To Do, Doing, Done) createdBystring Display name of the creator, or null if not set assignedTostring Assignee display name, or null if unassigned prioritynumber Priority (1–4), or 0 if not set areaPathstring Area path iterationPathstring Iteration path descriptionstring Work item description (HTML), or null if not set projectNamestring Azure DevOps project name workItemUrlstring API URL for the work item resource