Return a single issue
get
/*/issues/issues/v2/issues/{issueId}
Retrieve and return an issue by its identifier (ID). If a comma-separated list of field names is provided with the "fields" query parameter, only those fields are returned.
Request
Path Parameters
- issueId
-
Type:
integer
(int32
)Required:true
The ID of the issue.
Query Parameters
- fields
-
Type:
string
A comma-separated list of the names of the fields to return.
Response
200 Response
successful operation
Body
Root Schema : Issue
Type:
object
- attachments
-
Type:
array
attachments - ccs
-
Type:
array
ccs - comments
-
Type:
array
comments - commits
-
Type:
array
commits - component
-
Type:
object
Component - creationDate
-
Type:
string
(date-time
) - customFields
-
Type:
object
customFieldsAdditional Properties Allowed: additionalProperties - deadline
-
Type:
string
(date-time
) - description
-
Type:
string
- duplicates
-
Type:
array
duplicates - estimatedTime
-
Type:
number
(double
) - externalLinks
-
Type:
array
externalLinks - foundInRelease
-
Type:
string
- id
-
Type:
integer
(int32
) - links
-
Type:
array
links - modificationDate
-
Type:
string
(date-time
) - owner
-
Type:
object
User - priority
-
Type:
object
Priority - product
-
Type:
object
Product - release
-
Type:
object
Release - remainingTime
-
Type:
number
(double
) - reporter
-
Type:
object
User - resolution
-
Type:
object
Resolution - severity
-
Type:
object
Severity - sprint
-
Type:
object
Sprint - status
-
Type:
object
Status - storyPoints
-
Type:
number
(double
) - subIssues
-
Type:
array
subIssues - summary
-
Type:
string
- sumOfSubIssuesEstimatedTime
-
Type:
number
(double
) - sumOfSubIssuesRemainingTime
-
Type:
number
(double
) - sumOfSubIssuesStoryPoints
-
Type:
number
(double
) - sumOfSubIssuesTimeSpent
-
Type:
number
(double
) - tags
-
Type:
array
tags - timeSpent
-
Type:
array
timeSpent - type
-
Type:
string
- url
-
Type:
string
- version
-
Type:
string
- wikiRenderedDescription
-
Type:
string
Nested Schema : attachments
Type:
array
-
Type:
object
Attachment
Nested Schema : commits
Type:
array
-
Type:
string
Nested Schema : Component
Type:
object
Nested Schema : customFields
Nested Schema : duplicates
Type:
array
Nested Schema : externalLinks
Type:
array
-
Type:
object
ExternalLink
Nested Schema : User
Type:
object
- gravatarHash
-
Type:
string
- id
-
Type:
integer
(int32
) - links
-
Type:
array
links - loginName
-
Type:
string
- realname
-
Type:
string
Nested Schema : Priority
Type:
object
- id
-
Type:
integer
(int32
) - links
-
Type:
array
links - sortkey
-
Type:
integer
(int32
) - value
-
Type:
string
Nested Schema : Product
Type:
object
- components
-
Type:
array
components - defaultComponent
-
Type:
object
Component - description
-
Type:
string
- id
-
Type:
integer
(int32
) - isActive
-
Type:
boolean
Default Value:false
- links
-
Type:
array
links - name
-
Type:
string
- releases
-
Type:
array
releases - releaseTags
-
Type:
array
releaseTags
Nested Schema : Release
Type:
object
Nested Schema : Resolution
Type:
object
- id
-
Type:
integer
(int32
) - links
-
Type:
array
links - sortkey
-
Type:
integer
(int32
) - value
-
Type:
string
Nested Schema : Severity
Type:
object
- id
-
Type:
integer
(int32
) - links
-
Type:
array
links - sortkey
-
Type:
integer
(int32
) - value
-
Type:
string
Nested Schema : Sprint
Type:
object
- id
-
Type:
integer
(int32
) - links
-
Type:
array
links - name
-
Type:
string
Nested Schema : Status
Type:
object
- id
-
Type:
integer
(int32
) - isActive
-
Type:
boolean
Default Value:false
- isOpen
-
Type:
boolean
Default Value:false
- links
-
Type:
array
links - sortkey
-
Type:
integer
(int32
) - value
-
Type:
string
Nested Schema : subIssues
Type:
array
Nested Schema : Attachment
Type:
object
- attachmentData
-
Type:
array
attachmentData - byteSize
-
Type:
integer
(int32
) - creationDate
-
Type:
string
(date-time
) - description
-
Type:
string
- filename
-
Type:
string
- id
-
Type:
integer
(int32
) - issueHandle
-
Type:
object
IssueHandle - links
-
Type:
array
links - mimeType
-
Type:
string
- submitter
-
Type:
object
User - url
-
Type:
string
Nested Schema : attachmentData
Type:
array
-
Type:
string
(byte
)
Nested Schema : IssueHandle
Type:
object
- id
-
Type:
integer
(int32
) - version
-
Type:
string
Nested Schema : Link
Type:
object
- href
-
Type:
string
- mediaType
-
Type:
string
- method
-
Type:
string
- profile
-
Type:
string
- rel
-
Type:
string
Nested Schema : Comment
Type:
object
Nested Schema : ExternalLink
Type:
object
- kind
-
Type:
string
- links
-
Type:
array
links - type
-
Type:
string
- uri
-
Type:
string
Nested Schema : releases
Type:
array
Nested Schema : releaseTags
Type:
array
-
Type:
object
ReleaseTag
Nested Schema : ReleaseTag
Type:
object
- id
-
Type:
integer
(int32
) - links
-
Type:
array
links - value
-
Type:
string
Nested Schema : Tag
Type:
object
- description
-
Type:
string
- id
-
Type:
integer
(int32
) - links
-
Type:
array
links - name
-
Type:
string
Nested Schema : TimeSpent
Type:
object
404 Response
Issue Not Found
Body
Root Schema : RestException
Type:
object
- cause
-
Type:
object
Throwable - detail
-
Type:
string
- localizedMessage
-
Type:
string
- message
-
Type:
string
- stackTrace
-
Type:
array
stackTrace - status
-
Type:
integer
(int32
) - suppressed
-
Type:
array
suppressed
Nested Schema : Throwable
Type:
object
- localizedMessage
-
Type:
string
- message
-
Type:
string
- stackTrace
-
Type:
array
stackTrace - suppressed
-
Type:
array
suppressed
Nested Schema : stackTrace
Type:
array
-
Type:
object
StackTraceElement
Nested Schema : stackTrace
Type:
array
-
Type:
object
StackTraceElement
Nested Schema : suppressed
Type:
array
Nested Schema : StackTraceElement
Type:
object
- className
-
Type:
string
- fileName
-
Type:
string
- lineNumber
-
Type:
integer
(int32
) - methodName
-
Type:
string
- nativeMethod
-
Type:
boolean
Default Value:false