AptlyStar

Azure DevOps

Interact with Azure DevOps pipelines, builds, and work items

Instructions d'utilisation

Integrate Azure DevOps into your workflow. List and inspect pipelines and builds, query and manage work items, and add or read comments.

Outils

azure_devops_list_pipelines

List all pipelines in an Azure DevOps project. Returns pipeline ID, name, folder, revision, and URL.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
orderBystringNonField to sort results by (e.g. "name")
topnumberNonMaximum number of pipelines to return
continuationTokenstringNonContinuation token for paginating results

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of pipelines
metadataobjectPipelines metadata
↳ countnumberTotal number of pipelines returned
↳ pipelinesarrayArray of pipeline objects
↳ idnumberPipeline ID
↳ namestringPipeline name
↳ folderstringFolder path (e.g. "\\")
↳ revisionnumberPipeline revision number
↳ urlstringPipeline API URL

azure_devops_get_pipeline

Get details for a specific pipeline in an Azure DevOps project, including configuration and repository info.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
pipelineIdnumberOuiID of the pipeline to retrieve
pipelineVersionnumberNonSpecific revision of the pipeline to retrieve (defaults to latest)

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of the pipeline
metadataobjectPipeline detail metadata
↳ pipelineobjectFull pipeline detail object
↳ idnumberPipeline ID
↳ namestringPipeline name
↳ folderstringFolder path
↳ revisionnumberPipeline revision number
↳ urlstringPipeline API URL
↳ configurationobjectPipeline configuration
↳ typestringConfiguration type (e.g. "yaml")
↳ pathstringYAML file path in the repository
↳ repositoryobjectSource repository info
↳ idstringRepository ID
↳ typestringRepository type (e.g. "azureReposGit")
↳ linksobjectHypermedia links
↳ selfstringAPI self-link
↳ webstringBrowser URL for the pipeline

azure_devops_list_pipeline_runs

List runs for a specific pipeline in an Azure DevOps project. Returns run ID, name, state, result, and timestamps.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
pipelineIdnumberOuiID of the pipeline whose runs to list

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of pipeline runs
metadataobjectPipeline runs metadata
↳ countnumberTotal number of runs returned
↳ runsarrayArray of pipeline run objects
↳ idnumberRun ID
↳ namestringRun name (e.g. "20210601.1")
↳ statestringRun state (e.g. "completed", "inProgress")
↳ resultstringRun result (e.g. "succeeded", "failed") — absent if still running
↳ createdDatestringISO 8601 creation timestamp
↳ finishedDatestringISO 8601 finish timestamp — absent if still running
↳ urlstringRun API URL
↳ webUrlstringBrowser URL for the run

azure_devops_get_pipeline_run

Get details for a specific pipeline run in an Azure DevOps project. Returns run state, result, timestamps, and the pipeline reference.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
pipelineIdnumberOuiID of the pipeline
runIdnumberOuiID of the run to retrieve

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of the pipeline run
metadataobjectPipeline run metadata
↳ runobjectFull pipeline run detail object
↳ idnumberRun ID
↳ namestringRun name (e.g. "20210601.1")
↳ statestringRun state (e.g. "completed", "inProgress")
↳ resultstringRun result (e.g. "succeeded", "failed") — absent if still running
↳ createdDatestringISO 8601 creation timestamp
↳ finishedDatestringISO 8601 finish timestamp — absent if still running
↳ urlstringRun API URL
↳ webUrlstringBrowser URL for the run
↳ pipelineobjectPipeline reference
↳ idnumberPipeline ID
↳ namestringPipeline name
↳ folderstringPipeline folder
↳ revisionnumberPipeline revision number
↳ urlstringPipeline API URL

azure_devops_list_builds

List builds in an Azure DevOps project. Optionally filter by pipeline definition, status, result, or branch.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
definitionIdsstringNonComma-separated pipeline definition IDs to filter by (e.g. "1,2,3")
topnumberNonMaximum number of builds to return
statusFilterstringNonFilter by build status: inProgress, completed, cancelling, postponed, notStarted, none
resultFilterstringNonFilter by build result: succeeded, partiallySucceeded, failed, canceled
branchNamestringNonFilter by source branch name (e.g. "refs/heads/main")

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of builds
metadataobjectBuilds metadata
↳ countnumberTotal number of builds returned
↳ buildsarrayArray of build objects
↳ idnumberBuild ID
↳ buildNumberstringBuild number (e.g. "20210601.1")
↳ statusstringBuild status (e.g. "completed", "inProgress")
↳ resultstringBuild result (e.g. "succeeded", "failed") — absent if still running
↳ queueTimestringISO 8601 queue timestamp
↳ startTimestringISO 8601 start timestamp
↳ finishTimestringISO 8601 finish timestamp — absent if still running
↳ sourceBranchstringSource branch (e.g. "refs/heads/main")
↳ sourceVersionstringSource commit SHA
↳ definitionobjectPipeline definition reference
↳ idnumberDefinition ID
↳ namestringDefinition name
↳ webUrlstringBrowser URL for the build

azure_devops_list_build_logs

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.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
buildIdnumberOuiThe build ID whose logs to list

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of build logs
metadataobjectBuild logs metadata
↳ countnumberTotal number of log entries returned
↳ logsarrayArray of log entry objects
↳ idnumberLog entry ID — use with Get Build Log to fetch content
↳ typestringLog type (e.g. "Container", "Task", "Section")
↳ urlstringAPI URL for the log entry
↳ lineCountnumberNumber of lines in the log
↳ createdOnstringISO 8601 creation timestamp
↳ lastChangedOnstringISO 8601 last-changed timestamp

azure_devops_get_build_log

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.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
buildIdnumberOuiThe build ID containing the log
logIdnumberOuiThe log entry ID to fetch (from List Build Logs)
startLinenumberNonFirst line to return (1-based, inclusive)
endLinenumberNonLast line to return (1-based, inclusive)

Sortie

ParamètreTypeDescription
contentstringRaw log text
metadataobjectLog metadata
↳ lineCountnumberNumber of lines in the returned log text

azure_devops_get_build_timeline

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.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
buildIdnumberOuiID of the build whose timeline to retrieve

Sortie

ParamètreTypeDescription
contentstringSummary of the build timeline, highlighting failed steps
metadataobjectBuild timeline metadata
↳ totalCountnumberTotal number of timeline records
↳ failedCountnumberNumber of failed records
↳ recordsarrayAll timeline records (stages, jobs, tasks)
↳ idstringRecord GUID
↳ namestringStep name (e.g. "Run tests")
↳ typestringStage | Phase | Job | Task
↳ resultstringsucceeded | failed | skipped | canceled | null
↳ logIdnumberLog ID to pass to Get Build Log, or null
↳ errorCountnumberNumber of errors
↳ warningCountnumberNumber of warnings
↳ startTimestringISO 8601 start timestamp
↳ finishTimestringISO 8601 finish timestamp
↳ failedRecordsarraySubset of records where result is failed, partiallySucceeded, or succeededWithIssues — use logId to fetch logs
↳ idstringRecord GUID
↳ namestringStep name
↳ typestringStage | Phase | Job | Task
↳ resultstringfailed
↳ logIdnumberLog ID to pass to Get Build Log
↳ errorCountnumberNumber of errors
↳ warningCountnumberNumber of warnings
↳ startTimestringISO 8601 start timestamp
↳ finishTimestringISO 8601 finish timestamp

azure_devops_get_work_items_between_builds

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.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
fromBuildIdnumberOuiThe older build ID (start of range)
toBuildIdnumberOuiThe newer build ID (end of range)

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of work items between builds
metadataobjectWork items metadata
↳ countnumberTotal number of work item references returned
↳ workItemsarrayArray of work item references
↳ idstringWork item ID
↳ urlstringAPI URL for the work item

azure_devops_query_work_items

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).

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
wiqlQuerystringOuiWIQL query string (e.g. "SELECT [System.Id] FROM workitems WHERE [System.State] = 'Doing' ORDER BY [System.Id] ASC"). Use TOP N to limit results.

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of matching work items
metadataobjectWork items metadata
↳ countnumberNumber of work items returned (after hydration)
↳ totalMatchednumberTotal number of work items matched by the WIQL query before hydration
↳ workItemsarrayArray of work item details
↳ idnumberWork item ID
↳ titlestringWork item title
↳ statestringCurrent state for Basic process (e.g. To Do, Doing, Done)
↳ workItemTypestringWork item type returned by Azure DevOps (e.g. Issue, Task, Epic)
↳ assignedTostringDisplay name of assigned user, or null if unassigned
↳ areaPathstringArea path of the work item
↳ urlstringAPI URL for the work item

azure_devops_get_work_item

Fetch full details of a single work item by ID from Azure DevOps, including title, state, type, assignee, and area path.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
workItemIdnumberOuiThe work item ID to fetch

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of the work item
metadataobjectWork item metadata
↳ workItemobjectFull work item details
↳ idnumberWork item ID
↳ titlestringWork item title
↳ statestringCurrent state for Basic process (e.g. To Do, Doing, Done)
↳ workItemTypestringWork item type returned by Azure DevOps (e.g. Issue, Task, Epic)
↳ assignedTostringDisplay name of assigned user, or null if unassigned
↳ areaPathstringArea path of the work item
↳ urlstringAPI URL for the work item

azure_devops_get_work_items_batch

Fetch full details for multiple work items by ID from Azure DevOps. Pass comma-separated IDs (e.g.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
idsstringOuiComma-separated work item IDs to fetch (e.g. "123,456,789"). Lists longer than 200 IDs are chunked automatically.

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of the fetched work items
metadataobjectWork items metadata
↳ countnumberNumber of work items returned
↳ totalRequestednumberTotal number of IDs requested (across all chunks)
↳ workItemsarrayArray of work item details
↳ idnumberWork item ID
↳ titlestringWork item title
↳ statestringCurrent state for Basic process (e.g. To Do, Doing, Done)
↳ workItemTypestringWork item type returned by Azure DevOps (e.g. Issue, Task, Epic)
↳ assignedTostringDisplay name of assigned user, or null if unassigned
↳ areaPathstringArea path of the work item
↳ urlstringAPI URL for the work item

azure_devops_create_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.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
workItemTypestringOuiBasic-process work item type to create ("Issue", "Task", or "Epic"). Use Issue for bug or defect tracking.
titlestringOuiTitle of the new work item
descriptionstringNonHTML description of the work item (optional)
assignedTostringNonEmail or display name of the user to assign the work item to (optional)
prioritynumberNonPriority of the work item (1 = Critical, 2 = High, 3 = Medium, 4 = Low)
effortnumberNonEffort (Microsoft.VSTS.Scheduling.Effort). Basic process: Issue only.
startDatestringNonStart date (Microsoft.VSTS.Scheduling.StartDate), ISO 8601. Basic process: Epic only.
targetDatestringNonTarget date (Microsoft.VSTS.Scheduling.TargetDate), ISO 8601. Basic process: Epic only.
activitystringNonActivity (Microsoft.VSTS.Common.Activity). One of Deployment, Design, Development, Documentation, Requirements, Testing. Basic process: Task only.
remainingWorknumberNonRemaining work hours (Microsoft.VSTS.Scheduling.RemainingWork). Basic process: Task only.
completedWorknumberNonCompleted work hours (Microsoft.VSTS.Scheduling.CompletedWork). Basic process: Task only.
areaPathstringNonArea path for the work item, e.g. "MyProject\\Team" (optional)
iterationPathstringNonIteration path for the work item, e.g. "MyProject\\Sprint 1" (optional)
tagsstringNonSemicolon-separated tags, e.g. "issue; p1; auth" (optional)

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of the created work item
metadataobjectCreated work item metadata
↳ workItemobjectFull details of the created work item
↳ idnumberAssigned work item ID
↳ titlestringWork item title
↳ statestringInitial state for Basic process (e.g. To Do, Doing, Done)
↳ workItemTypestringWork item type returned by Azure DevOps (e.g. Issue, Task, Epic)
↳ assignedTostringDisplay name of assigned user, or null if unassigned
↳ areaPathstringArea path of the work item
↳ urlstringAPI URL for the created work item

azure_devops_update_work_item

Update one or more fields on an existing work item in Azure DevOps. Provide only the fields you want to change.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
workItemIdnumberOuiID of the work item to update
titlestringNonNew title for the work item (optional)
descriptionstringNonNew HTML description for the work item (optional)
assignedTostringNonEmail or display name to reassign the work item to (optional)
areaPathstringNonNew area path for the work item (optional)
prioritynumberNonPriority of the work item (1 = Critical, 2 = High, 3 = Medium, 4 = Low) (optional)
statestringNonNew state for Basic-process work items: "To Do", "Doing", or "Done" (optional)
effortnumberNonEffort (Microsoft.VSTS.Scheduling.Effort). Basic process: Issue only.
startDatestringNonStart date (Microsoft.VSTS.Scheduling.StartDate), ISO 8601. Basic process: Epic only.
targetDatestringNonTarget date (Microsoft.VSTS.Scheduling.TargetDate), ISO 8601. Basic process: Epic only.
activitystringNonActivity (Microsoft.VSTS.Common.Activity). One of Deployment, Design, Development, Documentation, Requirements, Testing. Basic process: Task only.
remainingWorknumberNonRemaining work hours (Microsoft.VSTS.Scheduling.RemainingWork). Basic process: Task only.
completedWorknumberNonCompleted work hours (Microsoft.VSTS.Scheduling.CompletedWork). Basic process: Task only.
tagsstringNonSemicolon-separated tags to set on the work item (optional)

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of the updated work item
metadataobjectUpdated work item metadata
↳ workItemobjectFull details of the updated work item
↳ idnumberWork item ID
↳ titlestringWork item title
↳ statestringCurrent state after update
↳ workItemTypestringWork item type returned by Azure DevOps (e.g. Issue, Task, Epic)
↳ assignedTostringDisplay name of assigned user, or null if unassigned
↳ areaPathstringArea path of the work item
↳ urlstringAPI URL for the work item

azure_devops_add_comment

Add a comment to a work item in Azure DevOps.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
workItemIdnumberOuiID of the work item to comment on
textstringOuiComment text (HTML supported, e.g. "<p>My comment</p>")

Sortie

ParamètreTypeDescription
contentstringHuman-readable confirmation of the added comment
metadataobjectAdded comment metadata
↳ commentobjectFull details of the created comment
↳ workItemIdnumberWork item the comment belongs to
↳ commentIdnumberComment ID
↳ versionnumberComment version
↳ textstringComment text
↳ renderedTextstringRendered HTML comment text when available
↳ createdBystringDisplay name of the comment author, or null
↳ createdDatestringISO timestamp when comment was created
↳ modifiedBystringDisplay name of the last modifier, or null
↳ modifiedDatestringISO timestamp when comment was modified
↳ isDeletedbooleanWhether the comment is deleted
↳ urlstringAPI URL for the comment

azure_devops_get_comments

List comments for an Azure DevOps work item.

Entrée

ParamètreTypeObligatoireDescription
organizationstringOuiAzure DevOps organization name
projectstringOuiAzure DevOps project name
workItemIdnumberOuiID of the work item whose comments should be listed
topnumberNonMaximum number of comments to return
continuationTokenstringNonContinuation token for paginating comments
includeDeletedbooleanNonWhether deleted comments should be returned
expandstringNonAdditional comment data to include: none, reactions, renderedText, renderedTextOnly, all
orderstringNonSort order for comments: asc or desc

Sortie

ParamètreTypeDescription
contentstringHuman-readable summary of work item comments
metadataobjectComments metadata
↳ countnumberNumber of comments returned in this page
↳ totalCountnumberTotal number of comments on the work item
↳ continuationTokenstringContinuation token for the next page
↳ nextPagestringAPI URL for the next page
↳ urlstringAPI URL for this comments list
↳ commentsarrayArray of work item comments
↳ workItemIdnumberWork item ID
↳ commentIdnumberComment ID
↳ versionnumberComment version
↳ textstringComment text
↳ renderedTextstringRendered HTML comment text when available
↳ createdBystringDisplay name of the comment author
↳ createdDatestringISO 8601 creation timestamp
↳ modifiedBystringDisplay name of the last modifier
↳ modifiedDatestringISO 8601 modified timestamp
↳ isDeletedbooleanWhether the comment is deleted
↳ urlstringAPI URL for the comment

On this page