v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
issue

Create an issue. If using deadline only the date will be taken into account, and time of day ignored.

post/repos/{owner}/{repo}/issues

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Request body

assigneestring

deprecated

assigneesstring[]
bodystring
closedboolean
due_datestring date-time
labelsinteger[]

list of label ids

milestoneinteger

milestone id

projectsinteger[]

list of project ids

refstring
titlestring required

Response

Issue

bodystring
closed_atstring date-time
commentsinteger
content_versioninteger

The version of the issue content for optimistic locking

created_atstring date-time
due_datestring date-time
html_urlstring
idinteger
is_lockedboolean
numberinteger
original_authorstring
original_author_idinteger
pin_orderinteger
refstring
state'open' | 'closed'
time_estimateinteger
titlestring
updated_atstring date-time
urlstring

Example response

{
  "labels": [
    {
      "color": "00aabb"
    }
  ]
}