Making changes and redeploying a plugin

Now that we have deployed the test plugin, it is time to add some proper logic, redeploy the plugin, and test it. Making the changes and redeploying a plugin is pretty easy. In this recipe, we will quickly look at how to do this.

How to do it...

You can make changes to the plugin and re-deploy it while the JIRA application is still running. Here is how we do it:

  1. Keep the JIRA application running in the window where we ran atlas-run.
  2. Open a new command window and go to the root plugin folder where your pom.xml resides.
  3. Run atlas-cli.
  4. Wait for the message - Waiting for commands....
  5. Run pi. pi stands for plugin install and this will compile your changes, package the plugin JAR, and install it into the installed-plugins ...

Get JIRA Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.