curl --request PUT \
--url https://api.getfernand.com/integrations/github/{conversation_id}/tickets/{ticket_id} \
--header 'X-API-Key: <api-key>'{
"id": "I_kwDOABCDEF",
"number": 42,
"title": "Fix login 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 PUT \
--url https://api.getfernand.com/integrations/github/{conversation_id}/tickets/{ticket_id} \
--header 'X-API-Key: <api-key>'{
"id": "I_kwDOABCDEF",
"number": 42,
"title": "Fix login 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.
ID of the GitHub issue to attach.
GitHub issue attached successfully.
Unique identifier of the GitHub issue.
"I_kwDOABCDEF"
Issue number within the repository.
42
Title of the issue.
"Fix login bug"
URL to view the issue on GitHub.
"https://github.com/piedpiper/www/issues/42"
Reason for the current state (COMPLETED, NOT_PLANNED, REOPENED, or null if open).
null
ISO 8601 timestamp of last update.
"2024-01-15T10:30:00Z"
ISO 8601 timestamp when the issue was closed (null if open).
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?