WorkItemTriggerContext interface

Azure DevOps work item changes.

Extends

Properties

workItems

Work items. Alias for items.

Inherited Properties

items

The items delivered by the connector trigger (convenience accessor for payload.body.value).

payload

The normalized trigger callback envelope, combining all items in a polling batch.

rawPayload

The original parsed payload object or polling envelope array (before envelope extraction). Use this when you need to persist the full trigger data (e.g., to blob storage).

Inherited Methods

toJSON()

Serialises the full trigger payload to a JSON string. Convenience method for output bindings.

Property Details

workItems

Work items. Alias for items.

workItems: TriggerWorkItemResponse[]

Property Value

TriggerWorkItemResponse[]

Inherited Property Details

items

The items delivered by the connector trigger (convenience accessor for payload.body.value).

items: TriggerWorkItemResponse[]

Property Value

TriggerWorkItemResponse[]

Inherited From ConnectorTriggerContext.items

payload

The normalized trigger callback envelope, combining all items in a polling batch.

payload: TriggerCallbackPayload<TriggerWorkItemResponse>

Property Value

TriggerCallbackPayload<TriggerWorkItemResponse>

Inherited From ConnectorTriggerContext.payload

rawPayload

The original parsed payload object or polling envelope array (before envelope extraction). Use this when you need to persist the full trigger data (e.g., to blob storage).

rawPayload: unknown

Property Value

unknown

Inherited From ConnectorTriggerContext.rawPayload

Inherited Method Details

toJSON()

Serialises the full trigger payload to a JSON string. Convenience method for output bindings.

function toJSON(): string

Returns

string

Inherited From ConnectorTriggerContext.toJSON