How to find the currently installed Atlassian Confluence and Jira version on the command line

Written by - 0 comments

Published on - last updated on April 4th 2024 - Listed in Atlassian Linux


When you need to find out the currently installed Atlassian Jira or Confluence version, you might scratch your head. Obviously when logged, the footer reveals the current version. This is also mentioned in the official Atlassian Knowledge Base.

However when you've got no login (e.g. you're the server admin but have no access to the application itself) you might have to find out the currently installed version on the command line.

Identify the installed Confluence version

If you have Confluence installed using the Atlassian bin file (which is the standard way), the current Confluence version can be found in one of the properties files:

root@confluence:~# grep ^version /opt/atlassian/confluence/confluence/META-INF/maven/com.atlassian.confluence/confluence-webapp/pom.properties
version=7.19.4

Note: You might need to adjust the path where your Confluence Tomcat is located. The default path is /opt/atlassian/confluence. 

In this case, Confluence 7.19.4 is installed.

Identify the installed Jira version

For Jira there are two (and possibly even more) ways to find the currently installed version. One way is similar to finding the Confluence version, by using the Tomcat embedded properties file:

root@jira:~# grep ^version /opt/atlassian/jira/atlassian-jira/META-INF/maven/com.atlassian.jira/atlassian-jira-webapp/pom.properties
version=8.20.11

Note: You might need to adjust the path where your Jira Tomcat is located. The default path is /opt/atlassian/jira. 

In this case, Jira 8.20.11 is installed.

Another way is to execute version.sh in the Tomcat bin directory:

root@jira:~# /opt/atlassian/jira/bin/version.sh

                  `sMMMMMMMMMMMMMM+
                     MMMMMMMMMMMMMM
                     :sdMMMMMMMMMMM
                             MMMMMM
          `sMMMMMMMMMMMMMM+  MMMMMM
             MMMMMMMMMMMMMM  +MMMMM
              :sMMMMMMMMMMM   MMMMM
                     MMMMMM    `UOJ
   `sMMMMMMMMMMMMM+  MMMMMM
     MMMMMMMMMMMMMM  +MMMMM
      :sdMMMMMMMMMM   MMMMM
             MMMMMM    `UOJ
             MMMMMM
             +MMMMM
              MMMMM
               `UOJ

      Atlassian Jira
      Version : 8.20.11



If you encounter issues starting or stopping Jira, please see the Troubleshooting guide at https://docs.atlassian.com/jira/jadm-docs-0820/Troubleshooting+installation
[...]

You might recognize this output from the logs when starting Jira.

Note: Although this script also exists in Confluence installations, it won't show the Confluence version.


Add a comment

Show form to leave a comment

Comments (newest first)

No comments yet.

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder