Hi,
Is there a way to get ONLY the latest version {id} using JIRA REST api ?
I am trying using some scripts to archive the latest version and then creating a new version, but i can't get the {id} for that.
Any ideas?
Hi Lior,
You can query the paginated project versions API restpoint and set the maxResults param to 1 and pass the orderBy param to startDate/releaseDate (adding - before the order param value will cause descending order to be used).
Regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.