Book Image

Mastering JIRA

By : Ravi Sagar
Book Image

Mastering JIRA

By: Ravi Sagar

Overview of this book

<p>JIRA is an issue-tracking tool from Atlassian and has gained immense popularity in recent years due to its ease of use and, at the same time, its customization abilities and finely grained control over various functions. JIRA offers functionalities for creating tasks and assigning them to users and many useful add-ons can be added such as JIRA Agile for Agile tracking and Groovy scripts, a powerful tool for administering customizations for customizations.</p> <p>This book explains how to master the key functionalities of JIRA and its customizations and add-ons, and is packed with real-world examples and use cases. You will first learn how to plan JIRA installation. Next, you will be given a brief refresher of fundamental concepts and learn about customizations in detail. Next, this book will take you through add-on development to extend JIRA functionality. Finally, this book will explore best practices and troubleshooting, to help you find out what went wrong and how to fix it.</p>
Table of Contents (23 chapters)
Mastering JIRA
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

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 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 Command Prompt, then stop it by clicking on Ctrl + C and perform these steps:

  1. In Command Prompt, make sure that you are in the C:\atlastutorial directory.

  2. Enter the following command and click on ENTER:

    atlas-create-jira-plugin
    
  3. 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

    Define value for artifactId

    helloworld

    Define value for version

    1.0-Version

    Define value for package

    com.atlassian.tutorial.helloworld

  4. The atlas-create-jira-plugin command will prompt you to confirm the values you just entered. Click on...