Contents

Count Issue

Returns number of issues.

Role

All

Method

GET

URL

/api/v2/issues/count

Query parameters

Parameter NameTypeDescription
projectId[]
(Multiple)
NumberProject ID
issueTypeId[]
(Multiple)
NumberIssue Type ID
categoryId[]
(Multiple)
NumberCategory ID
versionId[]
(Multiple)
NumberVersion ID
milestoneId[]
(Multiple)
NumberMilestone ID
statusId[]
(Multiple)
NumberStatus ID
priorityId[]
(Multiple)
NumberPriority ID
assigneeId[]
(Multiple)
NumberAssignee ID
createdUserId[]
(Multiple)
NumberCreated User ID
resolutionId[]
(Multiple)
NumberResolution ID
parentChildNumberSubtasking
0: All
1: Exclude Child Issue
2: Child Issue
3: Neither Parent Issue nor Child Issue
4: Parent Issue
attachmentBooleanTrue to make include Issue with Attachment
sharedFileBooleanTrue to make include Issue with File
sortStringWhat to sort results by
”issueType"
"category"
"version"
"milestone"
"summary"
"status"
"priority"
"attachment"
"sharedFile"
"created"
"createdUser"
"updated"
"updatedUser"
"assignee"
"startDate"
"dueDate"
"estimatedHours"
"actualHours"
"childIssue"
"customField_${id}“
orderStringOrder of the sort “asc” or “desc” default=“desc”
offsetNumber
countNumbernumber of records to retrieve(1-100) default=20
createdSinceStringCreated since (yyyy-MM-dd)
createdUntilStringCreated until (yyyy-MM-dd)
updatedSinceStringUpdated since (yyyy-MM-dd)
updatedUntilStringUpdated until (yyyy-MM-dd)
startDateSinceStringStart Date since (yyyy-MM-dd)
startDateUntilStringStart Date until (yyyy-MM-dd)
dueDateSinceStringDue Date since (yyyy-MM-dd)
dueDateUntilStringDue Date until (yyyy-MM-dd)
id[]
(Multiple)
NumberIssue ID
parentIssueId[]
(Multiple)
NumberParent Issue ID
keywordStringKeyword

Custom Fields (Text)

Parameter NameTypeDescription
customField_${id}StringKeyword

Custom Fields (Numeric)

Parameter NameTypeDescription
customField_${id}_minNumberMinimum
customField_${id}_maxNumberMaximum

Custom Fields (Date)

Parameter NameTypeDescription
customField_${id}_minStringDate from
customField_${id}_maxStringDate to

Custom Fields (List)

Parameter NameTypeDescription
customField_${id}[]
(Multiple)
NumberValue ID

Response example

Status Line / Response Header

HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8

Response Body

{
    "count": 43
}