Azure Devops

Available Azure Devops triggers for automating workflows

Azure Devops provides 3 triggers for automating workflows based on events.

Triggers

Azure DevOps Build Failed

Trigger workflow when an Azure DevOps build fails, is canceled, or partially succeeds

Output

ParameterTypeDescription
buildIdnumberBuild ID
buildNumberstringBuild number string (e.g. 20240101.1)
resultstringBuild result: failed | canceled | partiallySucceeded
pipelineIdnumberPipeline definition ID
pipelineNamestringPipeline definition name
projectNamestringAzure DevOps project name
branchstringSource branch name (refs/heads/ prefix stripped)
commitShastringSource commit SHA
triggeredBystringDisplay name of the person who triggered the build
triggeredByEmailstringEmail/unique name of the person who triggered the build
startTimestringBuild start time (ISO 8601)
finishTimestringBuild finish time (ISO 8601)
buildUrlstringAPI URL for the build resource

Azure DevOps Webhook (All Service Hook Events)

Trigger on whichever service hook event types you configure in Azure DevOps. Sim does not filter deliveries for this trigger.

Output

ParameterTypeDescription
eventTypestringService hook event type (e.g. build.complete, workitem.created)
notificationIdnumberNotification ID
subscriptionIdstringService hook subscription ID
publisherIdstringPublisher ID (e.g. tfs)
createdDatestringEvent creation time (ISO 8601)
resourcejsonEvent resource payload
resourceContainersjsonResource container references (project, collection, etc.)
messagejsonShort message object
detailedMessagejsonDetailed message object

Azure DevOps Work Item Created

Trigger workflow when a work item is created in Azure DevOps

Output

ParameterTypeDescription
workItemIdnumberWork item ID
workItemTypestringWork item type for Basic process (e.g. Issue, Task, Epic)
titlestringWork item title
statestringWork item state for Basic process (e.g. To Do, Doing, Done)
createdBystringDisplay name of the creator
assignedTostringAssignee display name, or empty string if unassigned
prioritynumberPriority (1–4), or 0 if not set
areaPathstringArea path
iterationPathstringIteration path
descriptionstringWork item description (HTML), or empty string if not set
projectNamestringAzure DevOps project name
workItemUrlstringAPI URL for the work item resource

On this page