Open dimertis opened 5 years ago
There are 2 API endpoint for retrieving versions:
Get project versions paginated --> GET /rest/api/2/project/{projectIdOrKey}/version
Get project versions --> GET /rest/api/2/project/{projectIdOrKey}/versions
_source_
Get-JiraVersion
uses the first in order to use paginated results
And I am unable to reproduce any kind of wrong behavior on that function:
What version of Jira are you running?
JIRA v6.3.10
you are running a pretty old version of jira. From what I can tell, that version was released November 2014.
This version does indeed not support the API used by the module. https://docs.atlassian.com/software/jira/docs/api/REST/6.3.10/#d2e5013
I will investigate the feasibility to support the old API as well.
I think this is our company problem that we use such antiquity=) Thanks for the help.
Description
get-jiraversion -project send request error (API JIRA)
Steps To Reproduce
(404) Not Found - https://jira/rest/api/latest/project/NA/version?orderBy=name&maxResults=25 need Uri adress - https://jira/rest/api/latest/project/NA/versions?orderBy=name&maxResults=25
Expected behavior
Screenshots
Your Environment
Possible Solution
I do not understand how the last uri(https://jira/rest/api/latest/project/NA/version?orderBy=name&maxResults=25 ) is formed
if look at the request https://jira/rest/api/latest/project/NA?expand=description,lead,issueTypes,url,projectKeys&maxResults=25 for example part of the version ....
maybe i'm wrong and not looking there