Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automate JIRA Upgrades

This is just a general topic for discussion.

Has anybody ever tried automating JIRA upgrades ?

What are the points one would like to enlist when it comes to automating JIRA ?

 

2 answers

On UNIX. Jira is generally very good about keeping its data seperate from its binaries.  The actual upgrade is essentially just removing the existing binary directory and installing the new version in its place. the catch is if you have modified any files under that installation directory, you will need to make the same modifications. But Jira is very good about warning you about changed files. 

So theoretically, if you know what changes to re-apply to your installation dir, you can automate. But in practice this is a little trick. A good example is the server.xml file. If you are doing SSL, you have most likely modified this file. However Atlassian has been known to make change to the contents of the file, So you have to be careful when re-applying your changes.

So in practice, unless you are running a very vanilla install, you are probably not going to want to automate upgrades. 

Hi Vickey,

I was just about to post a similar question and came across your thread. Have you already tried something in that direction? Any experiences you can share?

Besides the point mentioned by Andrew, the most "challenging" aspect from an automation perspective that we have found, is how to correctly deal with the Plug-ins upgrade. You need to check first if the Plug-ins could run in the new Jira version or decide if you have to disable them before the upgrade. The Jira upgrade and its files modifications could be handled with Ansible for example, but we haven't found a proper way to deal with the Plug-ins.

Any suggestions or hints on how such an automation could be achieved are highly welcomed!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

415 views 23 8
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you