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

Get paginated project versions

Returns all versions for the specified project. Results are paginated. Results can be ordered by the following fields: sequence, name, startDate, releaseDate.

GET/api/2/project/{projectIdOrKey}/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.

Path parameters
projectIdOrKeystringrequired

Project id or project key

Query parameters
expandstring

Parameters to expand

maxResultsinteger<int32>

How many results on the page should be included. Defaults to 50

orderBystring

Ordering of the results

startAtinteger<int64>

The page offset, if not specified then defaults to 0

Responses
200

Project versions

isLastboolean
maxResultsinteger<int32>
nextPagestring<uri>
selfstring<uri>
startAtinteger<int64>
totalinteger<int64>
valuesobject[]
404

Returned if the project is not found, or the calling user does not have permission to view it

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/project/string/version' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "isLast": true,
  "maxResults": 0,
  "nextPage": "http://example.com",
  "self": "http://example.com",
  "startAt": 0,
  "total": 0,
  "values": [
    {}
  ]
}

Was this page helpful?