GitLab

GitLab

Creates an issue in a GitLab project

Configuration

OptionDescription
GitLab project
Type: integration
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": "GitLab",
"inputs": {
"gitlab_project": {
"value": ""
},
"title": {
"value": ""
},
"description": {
"value": ""
},
"posthog_issue_id": {
"value": ""
}
},
"enabled": true,
"template_id": "template-gitlab"
}'

Community questions

Questions about this page? or post a community question.