Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Use JIRA Command Line Interface (CLI) and get a CSV file with them all listed:
--action runFromProjectList --common "--action getVersionList --project @project@ --file versionList.csv --append --outputFormat 999"
Using the rest API this is your best bet:
Use /rest/api/2/project
to get all accessible projects.
Extract the project keys, and loop over every project key.
Use /rest/api/
2
/project/{projectIdOrKey}/versions
to get all versions for a specific project.
Accumulate all of the results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is another thing that is a lot easier to do via mysql (if you have access to the database):
mysql> select DISTINCT vname from projectversion;
+----------------------------------------------------------------------------+
| vname |
+----------------------------------------------------------------------------+
| Release 1.0.2 |
| Release 1.0.3 |
...
...
(JIRA 6.2.1)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Xinan,
You can use REST API to get list of all versions in the projects
/rest/api/2/project/{projectIdOrKey}/versions
For more info you can refer - https://docs.atlassian.com/jira/REST/latest/#d2e2079
Taha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.