My Goal is to write a Atlassian STASH plugin.
Before getting started into plugin development, I need to install Atlassian plugin SDK.
I just started with the URL https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project
My development environment is Windows and it installed Atlassian plugin SDK under C:\Users\SBGurusiddappa\atlassian-plugin-sdk
The below atlas command can start a test instance of Jira
atlas-run-standalone --product jira
This really cool to deploy and test the Plugin on Jira test instance.
Before getting started into plugin development, I need to install Atlassian plugin SDK.
I just started with the URL https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project
My development environment is Windows and it installed Atlassian plugin SDK under C:\Users\SBGurusiddappa\atlassian-plugin-sdk
- This has bundled a maven 3.2.1 and it got a maven repository under it.
The below atlas command can start a test instance of Jira
atlas-run-standalone --product jira
This really cool to deploy and test the Plugin on Jira test instance.
Jira Plugin Development Highlights
- Install JDK
- Install Atlassian SDK
Running Jira Test Instance
- Mkdir c:\atlastutorial
- atlas-run-standalone --product jira
- Access
test jira instance at
http://localhost:2990/jira
(login=admin password=admin) - Projects -> Create
New Project ->
Test Project
(TEST) - Ctrl-Z -> Gracefully shutdown JIRA
- Restart JIRA standalone. ( atlas-run-standalone --product jira)
Creating a Jira Plugin
- cd c:\atlastutorial
- atlas-create-jira-plugin (Enter groupID, artifactId, version, package,etc)
- Examine the plugin skeleton (src\main\resources\atlassian-plugin.xml - This file is the descriptor. It defines the plugin modules your plugin uses)
Load the helloworld plugin into Jira
- atlas-run
- Access
http://localhost:2990/jira ->
Administration -> Add-ons -> Manage Add-ons -> Locate the helloworld plugin listings in User-installed Add-ons category.
Setup Eclipse IDE
- atlas-mvn eclipse:eclipse (to make helloworld ready to be imported into Eclipse)
- File > Import > General > Existing Projects into Workspace > Next
- Select root directory > Browse > Your Atlassian plugin folder should appear under Projects.
- Finish