Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get paginated versions

Retrieve paginated collection of versions matching given query optionally filtered by given project IDs.

GET/api/2/version
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Query parameters
maxResultsinteger<int32>

maximum number of versions to return

default: 100
querystring

string that version names will be matched with

default: ""
projectIdsinteger<int64>[]

set of project IDs to filter versions with

startAtinteger<int64>

index of the first version to return

default: 0
Responses
200

Returned if the versions are successfully retrieved.

archivedboolean
descriptionstring
expandstring
idstring
moveUnfixedIssuesTostring<uri>
namestring
overdueboolean
projectstring
projectIdinteger<int64>
releaseDatestring<date-time>
releaseDateSetboolean
releasedboolean
selfstring<uri>
startDatestring<date-time>
startDateSetboolean
userReleaseDatestring
userStartDatestring
403

Returned if the currently authenticated user does not have permission to view the versions.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/version' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "archived": false,
  "description": "An excellent version",
  "expand": "10000",
  "id": "10000",
  "moveUnfixedIssuesTo": "http://localhost:8090/jira/rest/api/2/version/10000/move",
  "name": "New Version 1",
  "overdue": true,
  "project": "PXA",
  "projectId": 10000,
  "releaseDate": "2019-08-24T14:15:22Z",
  "releaseDateSet": false,
  "released": true,
  "self": "http://localhost:8090/jira/rest/api/2/version/10000",
  "startDate": "2019-08-24T14:15:22Z",
  "startDateSet": false,
  "userReleaseDate": "2012-09-15T21:11:01.834+0000",
  "userStartDate": "2012-08-15T21:11:01.834+0000"
}

Was this page helpful?