Add support for additional incident fields #50880
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds support for the following fields:
ownerTeam, extraProperties, links, impactStartDate, actions
What
It appears that the initial version of this connector was created with the OpsGenie API documentation as a primary guide. However, real world responses show several important additional fields that are supported by the /v1/incidents List API, despite not being documented in the sample response: https://docs.opsgenie.com/docs/incident-api#list-incidents
Example:
How
Expand the schema to include fields not adequately documented in the OpsGenie API.
Review guide
Most of these fields are additions, but I chose to rename
details
->extraProperties
because these appear to be the same field in different contexts.details
is the term used by OpsGenie for Incident Create, butextraProperties
is the term used to retrieve it by the Incident Get/List APIs.https://docs.opsgenie.com/docs/incident-api#create-incident
https://docs.opsgenie.com/docs/incident-api#get-incident
https://docs.opsgenie.com/docs/incident-api#list-incident
User Impact
Important additional fields can be synced into Airbyte destinations.
Can this PR be safely reverted and rolled back?