error_tracking

post/api/projects/{project_id}/error_tracking/external_references/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/error_tracking/external_references/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

idstring uuid required

Unique ID of the external reference.

external_urlstring required

URL of the linked external issue in the provider's system.

external_idstring required

Provider-native identifier of the linked issue.

titlestring required

Title of the linked issue.

integration_idinteger required

ID of the connected integration to create the external issue with. List the project's integrations to find the right ID and its kind (one of 'github', 'gitlab', 'linear', 'jira').

configobject required

Provider-specific fields describing the external issue to create. Required keys depend on the integration kind: github -> {repository, title, body}; gitlab -> {title, body}; linear -> {team_id, title, description}; jira -> {project_key, title, description}. Examples: github {"repository":"posthog","title":"Checkout TypeError","body":"Stack trace"}; linear {"team_id":"team-id","title":"Checkout TypeError","description":"Stack trace"}; jira {"project_key":"ENG","title":"Checkout TypeError","description":"Stack trace"}. Every kind also accepts an optional assignee key: a Linear user ID, a GitHub login, a GitLab user ID, or a Jira account ID.

issuestring uuid required

ID of the error tracking issue to link the reference to.

Response

idstring uuid required

Unique ID of the external reference.

external_urlstring required

URL of the linked external issue in the provider's system.

external_idstring required

Provider-native identifier of the linked issue.

titlestring required

Title of the linked issue.

Changes

No recorded changes to this operation across all 1 revision of this API.