Work Item Open Change Request (sf_devops__Work_Item_Open_Change_Request__e)

Notifies subscribers whenever a change request (pull request) is opened for a work item. This object is available in API version 62.0 and later.

This event occurs whether the change request was initiated in DevOps Center or directly in the source control system. For changes made in feature branches, the change request is associated with the first pipeline stage. After a promotion to a pipeline stage, the event is generated for the next pipeline stage. This event is generated after a promotion as well as when a change request is opened for the next pipeline stage.

Supported Calls

create(), describeSObjects()

Supported Subscribers

Subscriber Supported?
Apex Triggers Yes
Flows Yes
Processes Yes
Pub/Sub API Yes
Streaming API (CometD) Yes

Streaming API Subscription Channel

/event/sf_devops__Work_Item_Open_Change_Request__e

Event Delivery Allocation Enforced

Yes

Special Access Rules

DevOps Center package version 8.2 or later must be installed in the org.

Fields

Field Details
EventUuid
Type
string
Properties
Nillable
Description
The unique ID of the event, which is shared with the corresponding storage object. For example, 0a4779b0-0da1-4619-a373-0a36991dff90. Use this field to correlate the event with its storage object.
ReplayId
Type
string
Properties
Nillable
Description
Represents an ID value that is populated by the system and refers to the position of the event in the event stream. Replay ID values aren’t guaranteed to be contiguous for consecutive events. A subscriber can store a replay ID value and use it on resubscription to retrieve missed events that are within the retention window.
sf_devops__Remote_Reference__c
Type
string
Properties
Create, Nillable
Description
The unique ID of the change request in the source control system.
sf_devops__Target_Stage_Id__c
Type
string
Properties
Create, Nillable
Description
The ID of the pipeline stage where the change request will be merged.
sf_devops__Work_Item_Id__c
Type
string
Properties
Create, Nillable
Description
The ID of the work item associated with the newly created change request.