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
It looks like you're new here. Sign in or register to get started.