How to downgrade Jira version (6.3.15 to 6.3.3) (edit)


I have installed the Atlassian SDK 5.0.13 with JIRA version 6.3.15 and I want to downgrade it to JIRA version 6.3.3.

Can I do this from command line (something like atlas-update --product JIRA 6.3.3 )?

If not, I've found the tutorial from bellow but I don't where the directory in which to do the upgrade is ( in, jira.home =  , so I even tried ..\target\jira\home\ ). 


2 answers

0 votes

Hi Andrei!

JIRA 6.3.3 is actually older than 6.3.15. I believe you might want to upgrade it to 6.4.3, is that right?

Anyway, the path for the upgrade is the one where JIRA was installed to. You can check this on the startup of the instance. It's referred to as CATALINA_BASE.



Then, can I make a downgrade in the way you explained above?

I'm also looking for a downgrade (going back to an older version of JIRA)

Without answering specifically for JIRA 6.3.x versions, here are tips. My need was to downgrade a test instance from 7.4.2 to 7.3.4. I recommend not to apply this process in production.

First, at JIRA startup, notice log lines with:

INFO ServiceRunner [c.a.j.upgrade.util.BuildNumberDao] Setting current version to 7.4.2
INFO ServiceRunner [c.a.j.upgrade.util.BuildNumberDao] Setting downgrade version to 7.1.2

After starting lower version code 7.3.4 with a more recent database, JIRA fails to start with following message in log

Failed to start JIRA due to a build number inconsistency.
The data present in your database is newer than the version of JIRA you are trying to startup.
Database build number: 74004
JIRA app build number: 73015
Please use the correct version of JIRA. You are running: 7.3.4#73015-sha1:a262b3457b3605f12635df4b0a0c3dc71d631a1e
Alternatively, you can allow a Downgrade to occur by setting the system property jira.downgrade.allowed=true.

Add JVM argument -Djira.downgrade.allowed=true in bin/setenv(.sh|.bat) and restart instance to get your database and instance downgraded. Remove this option just after that.

Get back compatible plugins from old version instance plugins/installed-plugins/.

Hope this helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Jira

Updates to give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

328 views 1 12
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