Creating our first JIRA plugin “Hello World”:

  1. enter in C:\atlastutorial
  2. atlas-create-jira-plugin
  3. Enter 1 for JIRA 5
  4. groupId: com.atlassian.tutorial
  5. artifactId: helloworld
  6. version: 1.0-SNAPSHOT
  7. package: com.atlassian.tutorial.helloworld
  8. Press Y to continue

Add a module to the plugin:

  1. enter in C:\atlastutorial
  2. atlas-create-jira-plugin-module
  3. Select the 30 Web Section item by entering 30.
  4. Answer each question as follows:
    Question Value Description
    Enter Plugin Module Name: mySection A human-readable name for the section. This is only visible to administrators working with the Universal Plugin Manager (UPM).
    Enter Location: client-sites-link A unique location representing this web section.
    Show Advanced Setup? N Not applicable for this tutorial

Press Y to add another Plugin Module.

  1. Choose 25: Web Item
    Question Value Description
    Enter Plugin Module Name Client Sites This is the name that will appear on the new menu.
    Enter Section system.top.navigation.bar The location in the JIRA menu where you want your custom menu to appear.
    Enter Link URL deleteMe More about this later.
    Show Advanced Setup? N Not applicable for this tutorial

Answer N when prompted to add another module.

Open the atlassian-plugin.xml in the Source view and look for the web-section and web-item entries.
These entries were added for you when you added the modules.  You can modify all text of the XML markups.

FINAL COMMAND: DEPLOY TO JIRA

  1. enter in C:\atlastutorial
  2. atlas-run

WELL TO KNOW!! TO DEVELOP FASTER

Create a new WebItem as example while your plugin are running

  1. atlas-create-jira-plugin-module
  2. Enter 25

FAST DEPLOY!!!

  1. Return to the browser.
  2. Navigate to the FASTDEV page for your project. The URL for this page has a format ofhttp://HOSTNAME:PORT/jira/plugins/servlet/fastdev.
  3. Push “Scan and Reload” button
  4. That’s all!!!

This plugin also works on JIRA 6.3…and 7!

fastdev_first

reloaded

Posted by:.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s