Creating the helloworld plugin
Now, we are ready to create our first add-on in JIRA, which will introduce new features to our instance. Any JIRA add-on contains a lot of files, and it has to follow a directory structure; the Atlassian SDK provides a command-line tool called atlas-create-jira-plugin
to create a plugin.
If your existing JIRA is already running in cmd, then stop it by pressing on Ctrl + C and perform these steps:
In cmd, make sure that you are in the
C:\atlastutorial
directory.Enter the following command and press Enter:
atlas-create-jira-plugin
This command will respond and ask you to provide certain inputs. Use the values mentioned in the following table:
Define value for
groupId
com.atlassian.tutorial
Used to identify project uniquely
Define value for
artifactId
helloworld
An artifact is a file, usually a JAR, that gets deployed
Define value for
version
1.0-Version
Used for distributing the plugin
Define value for
package
com.atlassian.tutorial.helloworld...