Skip to content

One issue with comments and attachments

GET
/issues/{issue}
curl --request GET \
--url http://localhost:8100/api/v1/issues/WEB-12 \
--header 'Authorization: Bearer <token>'
issue
required
string

Issue key (WEB-12, case-insensitive) or numeric id

Issue

Media typeapplication/json
object
data
object
id
integer
key
string
number
integer
title
string
description
string
type
object
id
required
string
name
required
string
current
boolean
status
object
id
integer
name
string
category
string
Allowed values: todo in_progress done
priority
object
id
required
string
name
required
string
current
boolean
labels
Array<string>
assignee
object
id
integer
name
string
email
string format: email
reporter
object
id
integer
name
string
email
string format: email
project
object
id
integer
key
string
name
string
parent
object
key
string
title
string
subtasks
Array<object>
object
key
string
title
string
status
string
estimate_hours
number | null
spent_hours
number
due_date
string | null format: date
url
string format: uri
created_at
string format: date-time
updated_at
string format: date-time
closed_at
string | null format: date-time
comments

Only on GET /issues/{key}

Array<object>
object
id
integer
author
object
id
integer
name
string
body

Markdown

string
created_at
string format: date-time
updated_at
string format: date-time
attachments

Only on GET /issues/{key}

Array<object>
object
id
integer
name
string
size
integer
type
string
url
string format: uri

Example

{
"data": {
"key": "WEB-12",
"status": {
"category": "todo"
}
}
}

No such issue or project

Media typeapplication/json
object
message
string
errors
object
key
additional properties
Array<string>

Example generated

{
"message": "example",
"errors": {
"additionalProperty": [
"example"
]
}
}