How do I download JIRA installer (.bin) using curl?

This question is in reference to Atlassian Documentation: Installing JIRA on Linux

I want to use curl to download the JIRA Linux installer (.bin) onto my server.

I cannot use the link invoked by the "download" button on page https://www.atlassian.com/software/jira/download/

 

2 answers

This widget could not be displayed.

Here are my results trying to leverage the answer above

sudo -u root curl -O https://www.atlassian.com/software/jira/post-dow              nload?file=https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.1.4-jir              a-7.1.4-x64.bin   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                  Dload  Upload   Total   Spent    Left  Speed 100 17130    0 17130    0     0  46292      0 --:--:-- --:--:-- --:--:-- 46297

 

This bin is 308 MB when I download from the browser  which is not an option on the real Target platform

 head atlassian-jira-software-7.1.4-jira-7.1.4-x64.bin <!doctype html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://plus.google.com/+atlassian" rel="publisher" /> <link rel="alternate" href="https://www.atlassian.com/software/jira/post-download/" hreflang="en" /> <link rel="alternate" href="https://es.atlassian.com/software/jira/post-download/" hreflang="es" /> <link rel="alternate" href="https://de.atlassian.com/software/jira/post-download/" hreflang="de" /> <link rel="alternate" href="https://fr.atlassian.com/software/jira/post-download/" hreflang="fr" /> <link rel="alternate" href="https://ja.atlassian.com/software/jira/post-download/" hreflang="ja" /> [ec2-user@ip-10-100-8-26 tmp]$ <link href="https://plus.google.com/+atlassian" rel="publisher" />

 

Dollars for clues.

 

Please and thank you

 

Mark E. LLoyd

Clue:  I don't think Atlassian actually tests their documentation or answers...

That is exactly what I was getting as well.  I believe it is the first snippet for the HTML that brings up the web page that displays "Thanks for downloading JIRA Software" after which the HTML page initiates the download.  

That approach works great if you are accessing the link using a browser on Linux.

But, "curl" is not a browser...   I believe we need a URL that directly downloads the .bin itself.

just get the url in the 'file='

Thanks Gabrielle, that works.

You can now accept the answer below to mark it "accepted" smile

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

52 views 1 0
Join discussion

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