How to bulk get the versions of all projects?

As the title says. I want to get all versions of all projects in JIRA.

How can I do that?

Thanks very much!

4 answers

Hi Xinan,

You can use REST API to get list of all versions in the projects


For more info you can refer -



Thanks! But can I get all projects' verions in one time instead of get one project's versions in one time?

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)


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.

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"

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

56 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you