GitHub

GitHub

Creates an issue in a GitHub repository

Configuration

OptionDescription
GitHub installation
Type: integration
Required: True
Repository
Type: integration_field
Required: True
Title
Type: string
Required: True
Description
Type: string
Required: True
PostHog issue ID
Type: string
Required: True

Using our REST API you can create this destination like so:

Terminal
# Create a new destination
curl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \
--data '{
"type": "destination",
"name": "GitHub",
"inputs": {
"github_installation": {
"value": ""
},
"repository": {
"value": ""
},
"title": {
"value": ""
},
"description": {
"value": ""
},
"posthog_issue_id": {
"value": ""
}
},
"enabled": true,
"template_id": "template-github"
}'

Community questions

Questions about this page? or post a community question.