Botron Software

CMJ 101


Warning: mysql_real_escape_string() expects parameter 1 to be string, object given in /home/content/74/11756174/html/wp-includes/wp-db.php on line 1093

Jira Clones

Creating Jira clones for Test and Staging purposes can be accomplished in several different ways:

  1. If the production environment is virtualized, the whole VM guest can be cloned. The challenges here are usually related with the storage provisioning
  2. If the production environment is using docker
  3. Using the embedded backup / restore Jira function described here
  4. Using Configuration Manager for Jira

The article below describes in details how you can create or refresh Jira environment with the latest production configuration.

Duration < 5 min             Environments 2 Jira Servers*             Snapshots System Snapshot             Deployment ModeSystem Restore             Difficulty Easy             REST API Supported

*2 Servers are required. Production and the clone system.

 

Step by Step Diagram

Steps

This use case has two major phases: Install Jira clone server, refresh the Clone configuration with the Production Configuration.

Install Jira Clone Server


Follow the procedure descrived here to install Jira.
It is recommended that the version of the Clone server is the same as in production.

Production to Clone

1. Production: Create system snapshot, include all filters, agile boards and dashboards
2. Clone: Deploy snapshot

    1. Use System Restore deployment mode.
    2. Review the change and impact analysis in the Analyze step of the deployment. Using the restore mode CMJ will update and remove existing configuration so that the resulting system has the exact same configuration as Production and exact same projects

      Deploying a snapshot in restore mode may lead to deletion of projects including all issues. This change can not be reversed!

    3. Declare SUCCESS/FAILURE – based on the deployment result.
    4. Start using the close as Test and Staging server.

Automation

Automation of the above steps can be accomplished using the public REST API.