This page describes the shell script atlas-create-home-zip, part of the Atlassian Plugin SDK.

(info) This command is only available in Atlassian Plugin SDK version 3.1 and later

On this page:

Basic Usage

atlas-create-home-zip – Creates a test-resources zip of the current application's home directory. This zip file can then be pointed to in the AMPS productDataPath property to auto-populate application data during startup.


Don't run the atlas-clean command during this process, until you get to the very end. Running atlas-clean before you have finished this configuration will delete the files that were created during this process!

Let's assume you want to prepopulate JIRA with a few projects and issues for testing on every clean startup. First, run the application as you normally would using atlas-run. Next, use the JIRA web interface to create your projects and issues. Stop JIRA (CTRL+C). Finally, go to the root directory of your plugin and type:


This will create a file called in the plugins target folder. Copy this file to a known location (such as, src/test/resources). Finally add:


to the <configuration/> of the maven-jira-plugin or maven-confluence-plugin in your pom.xml. The completed configuration should look something like this:

        <!-- Add the productDataPath configuration here -->

Now every time you start JIRA or Confluence using atlas-run or atlas-debug, the home directory will be prepopulated using the contents of the generated zip file.

Was this page helpful?
Powered by Confluence and Scroll Viewport