Get project versions paginated
GET
/rest/api/3/project/{projectIdOrKey}/version
Project versions
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://jira.local:8080/jira/rest//rest/api/3/project//version'
Response Response Example
200 - Success
{
"self": "https://your-domain.atlassian.net/rest/api/3/project/PR/version?startAt=0&maxResults=2",
"nextPage": "https://your-domain.atlassian.net/rest/api/3/project/PR/version?startAt=2&maxResults=2",
"maxResults": 2,
"startAt": 0,
"total": 7,
"isLast": false,
"values": [
{
"self": "https://your-domain.atlassian.net/rest/api/3/version/10000",
"id": "10000",
"description": "An excellent version",
"name": "New Version 1",
"archived": false,
"released": true,
"releaseDate": "2010-07-06",
"overdue": true,
"userReleaseDate": "6/Jul/2010",
"projectId": 10000
},
{
"self": "https://your-domain.atlassian.net/rest/api/3/version/10010",
"id": "10010",
"description": "Minor Bugfix version",
"name": "Next Version",
"archived": false,
"released": false,
"overdue": false,
"projectId": 10000,
"issuesStatusForFixVersion": {
"unmapped": 0,
"toDo": 10,
"inProgress": 20,
"done": 100
}
}
]
}
Request
Path Params
projectIdOrKey
stringÂ
required
Query Params
startAt
integerÂ
optional
maxResults
integerÂ
optional
orderBy
stringÂ
optional
description
Sorts by version description.name
Sorts by version name.releaseDate
Sorts by release date, starting with the oldest date. Versions with no release date are listed last.sequence
Sorts by the order of appearance in the user interface.startDate
Sorts by start date, starting with the oldest date. Versions with no start date are listed last.query
stringÂ
optional
name
or description
are returned (case insensitive).status
stringÂ
optional
released
, unreleased
, and archived
.expand
stringÂ
optional
issuesstatus
Returns the number of issues in each status category for each version.operations
Returns actions that can be performed on the specified version.Responses
Modified at 2023-07-13 03:27:27