How to download Jira through the Command Line
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
Purpose
Sometimes it is necessary to be able to download the Atlassian products via command line to allow for an easier installation when there isn't a GUI Desktop available or to automate installation/upgrade processes. In this article, we'll address how you can achieve that.
Solution
To download the application through the command line you may use either of the commands below while replacing the URL to match the specific version that you'd like to download.
Note: When writing up the command change the x.x.x value by the specific version that you'd like to download.
Linux:
curl -L -O https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-x.x.x-x64.bin
wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-x.x.x-x64.bin
Windows(PowerShell):
Invoke-WebRequest -Uri "https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-x.x.x-x64.bin " -OutFile "C:\path\file\jira.bin"
For the PowerShell command, be sure to name the downloaded file with the same file extension as the archive you are downloading.
For Jira versions 7.0.0 and higher:
For Jira versions prior to 7.0.0:
In case you need to also download other Atlassian products, you may use the following URLs: