Get a list of issues
GET/project/issues
Get a list of issues.
History
Version | Changes |
---|---|
v3.14.117, v3.15.26 | Added in: v3.14.117, v3.15.26 |
Request
Query Parameters
The team ID
Possible values: <= 500
Default value: 500
The default value for the number of results to return in this request is 500. Values exceeding 500 or ≤0 will be reset to 500
The starting location of this request
As a filter condition, the list only returns work items that are projectID, used in conjunction with issueTypeID.
As a filter condition, the list only returns work items that are issueTypeID, used in conjunction with projectID.
Responses
- 200
- 401
- 403
- 404
- 500
Request is successful.
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
Array [
- 1: Single Select
- 2: Text
- 3: Integer
- 4: Float
- 5: Date
- 6: Time
- 16: Multiple Select
- 19: Boolean
- MOD1
- MOD2
- MOD3
- MOD4
Array [
]
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
]
data
object
list
object[]
assignee
object
ID of the assignee.
Name of the assignee.
CreateTime of the issue.
Issue due date.
Time estimated,unit is hour.
issueType
object
ID of the issue type.
Name of the issue type.
Title of the issue.
Number of the issue.
creator
object
ID of the creator.
Name of the creator.
parent
object
Parent issue ID.
Parent issue title.
priority
object
ID of the priority.
Name of the priority.
project
object
Project ID of the issue.
Project name of the issue.
Time remaining,unit is hour.
sprint
object
ID of the sprint.
Name of the sprint.
status
object
ID of the status.
Name of the status.
Category of the status.
subIssueType
object
ID of the sub issue type.
Name of the sub issue type.
Total sub issue.
Total completed sub issue.
subIssues
object[]
ID of the sub issue.
Name of the sub issue.
Total time estimated,unit is hour.
Time spent,unit is hour.
Total time remaining,unit is hour.
ID of the issue.
attachments
object[]
ID of the attachment.
Name of the attachment.
Create time of the attachment.
fieldValues
object[]
Only includes custom attributes added to the detail form and a subset of system attributes
Field identifier
Field type (common types as examples):
value
object
Field value. The data format varies according to the field type. Due to extensible types, please refer to the response data for specific formats
oneOf
string
integer
boolean
solution
object
ID of the solution
Value of the solution
publish progress
publish date
update timestamp
time progress
story point
publishVersion
object[]
ID of the publish version
Name of the publish version
watchers
object[]
ID of watchers
Name of watchers
Plan start date
Plan end date
solver
object
ID of the solver
Name of the solver
Description Text
Description Rich-Text
defectType
object
ID of the defect type
value of the defect type
isOnlineDefect
object
ID of the is-online defect
value of the is-online defect
products
object[]
ID of products
Name of products
productModules
object[]
ID of product modules
Name of product modules
projectModules
object[]
ID of project modules
Name of project modules
epic
object
ID of the epic
Name of the epic
severityLevel
object
ID of the severity level
Value of the severity level
Estimated variance
Total time progress
Total estimated variance
Progress
pageInfo
object
Page information.
The number returned this time.
The last cursor on this page is generally used to turn pages.
Is there a next page.
The first cursor on this page is generally used to turn pages.
The total number of items available in the entire collection, including those that are returned in the current response.
The result of this request.
The error code of this request.
Error message for this request.
Error meta data for this request.
[
{
"result": "SUCCESS",
"data": {
"list": [
{
"assignee": {
"id": "5f1b8a1b",
"name": "test"
},
"createTime": 1595555555,
"dueDate": 1595555555,
"timeEstimatedHour": 1,
"issueType": {
"id": "9c6d4c01",
"name": "test"
},
"title": "test",
"number": 1,
"creator": {
"id": "5f1b8a1b",
"name": "test"
},
"parent": {
"id": "5f1b8a1b",
"title": "test"
},
"priority": {
"id": "9c6d4c01",
"name": "test"
},
"project": {
"id": "5f1b8a1b",
"name": "test"
},
"timeRemainingHour": 1,
"sprint": {
"id": "5f1b8a1b",
"name": "test"
},
"status": {
"id": "5f1b8a1b",
"name": "test",
"category": "test"
},
"subIssueType": {
"id": "5f1b8a1b",
"name": "test"
},
"subIssueCount": 1,
"subIssueDoneCount": 1,
"subIssues": [
{
"id": "5f1b8a1b",
"name": "test"
}
],
"totalTimeEstimatedHour": 1,
"timeSpentHour": 1,
"totalTimeRemainingHour": 1,
"id": "5f1b8a1b",
"attachments": [
{
"id": "5f1b8a1b",
"name": "test",
"createTime": 1595555555
}
]
}
],
"pageInfo": {
"count": 1,
"endCursor": "sample_end_cursor",
"hasNextPage": false,
"startCursor": "sample_start_cursor",
"totalCount": 1
}
}
}
]
Returned if the authentication credentials are incorrect or missing.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Unauthorized",
"errorMsg": "Access token is invalid"
}
Returns if the scope check fails.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Forbidden",
"errorMsg": "Scope is invalid"
}
Returned if the resource object was not found.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "NotFound",
"errorMsg": "Not Found"
}
Internal Server Error.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Internal Server Error",
"errorMsg": "Internal Server Error"
}