curl --request POST \
--url https://api.getfernand.com/integrations/github/{conversation_id}/tickets \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "Fix login authentication bug",
"repository": "R_kgDOABCDEF"
}
'{
"id": "I_kwDOABCDEF",
"number": 42,
"title": "Fix login authentication bug",
"url": "https://github.com/piedpiper/www/issues/42",
"state_reason": null,
"updated_at": "2024-01-15T10:30:00Z",
"closed_at": null,
"assignee": {
"id": "U_kgDOABCDEF",
"login": "richard.hendricks",
"name": "Richard H.",
"avatar_url": "https://avatars.githubusercontent.com/u/123456"
},
"labels": [
{
"id": "LA_kwDOABCDEF",
"name": "bug",
"color": "d73a4a"
}
],
"type": {
"id": "IT_kwDOABCDEF",
"name": "Bug",
"color": "d73a4a"
}
}curl --request POST \
--url https://api.getfernand.com/integrations/github/{conversation_id}/tickets \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "Fix login authentication bug",
"repository": "R_kgDOABCDEF"
}
'{
"id": "I_kwDOABCDEF",
"number": 42,
"title": "Fix login authentication bug",
"url": "https://github.com/piedpiper/www/issues/42",
"state_reason": null,
"updated_at": "2024-01-15T10:30:00Z",
"closed_at": null,
"assignee": {
"id": "U_kgDOABCDEF",
"login": "richard.hendricks",
"name": "Richard H.",
"avatar_url": "https://avatars.githubusercontent.com/u/123456"
},
"labels": [
{
"id": "LA_kwDOABCDEF",
"name": "bug",
"color": "d73a4a"
}
],
"type": {
"id": "IT_kwDOABCDEF",
"name": "Bug",
"color": "d73a4a"
}
}ID of the conversation to attach the issue to.
Title of the GitHub issue (required, max 250 characters).
"Fix login authentication bug"
ID of the repository to create the issue in (required).
"R_kgDOABCDEF"
Description/body of the issue (optional, max 250,000 characters).
"Users are unable to log in with their credentials. The authentication service returns a 500 error."
ID of the user to assign the issue to (optional).
"U_kgDOABCDEF"
ID of the milestone to associate the issue with (optional).
"M_kwDOABCDEF"
ID of the issue type (optional).
"IT_kwDOABCDEF"
Array of label IDs to apply to the issue (optional).
["LA_kwDOABCDEF", "LA_kwDOXYZ123"]Array of project IDs to add the issue to (optional).
["PVT_kwDOABCDEF"]GitHub issue created and attached successfully.
Unique identifier of the created GitHub issue.
"I_kwDOABCDEF"
Issue number within the repository.
42
Title of the issue.
"Fix login authentication bug"
URL to view the issue on GitHub.
"https://github.com/piedpiper/www/issues/42"
Reason for the current state (null for newly created issues).
null
ISO 8601 timestamp of last update.
"2024-01-15T10:30:00Z"
ISO 8601 timestamp when the issue was closed (null for open issues).
null
Assigned user (null if unassigned).
Show child attributes
List of labels applied to the issue.
Show child attributes
Issue type (null if no type is set).
Show child attributes
Was this page helpful?