- Install JDK from Oracle
- Set the JAVA_HOME and PATH system variables
- Right click on “My Computer”
- Properties –> Advanced Settings
- Environment Variables –> System Variables
- JAVA_HOME must be with the JDK root path
- PATH must be with the JDK\bin path
- Download the SDK from Atlassian
- Create a directory called “atlastutorial” for example
- In C:\ then put
- makedir atlastutorial
- cd atlastutorial
- atlas-run-standalone –product jira
- Run in your browse this URL: http://localhost:2990/jira
- user: admin pass: admin
- Creating our first JIRA plugin “Hello World”:
- enter in C:\atlastutorial
- atlas-create-jira-plugin
- Enter 1 for JIRA 5
- groupId: com.atlassian.tutorial
- artifactId: helloworld
- version: 1.0-SNAPSHOT
- package: com.atlassian.tutorial.helloworld
- Press Y to continue
- Browse to and open the
atlastutorial/helloworld/src/main/resources/atlassian-plugin.xml
file.
<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2"> <plugin-info> <description>${project.description}</description> <version>${project.version}</version> <vendor name="${project.organization.name}" url="${project.organization.url}" /> <param name="plugin-icon">images/pluginIcon.png</param> <param name="plugin-logo">images/pluginLogo.png</param> </plugin-info> <!-- add our i18n resource --> <resource type="i18n" name="i18n" location="helloworld"/> <!-- add our web resources --> <web-resource key="helloworld-resources" name="helloworld Web Resources"> <dependency>com.atlassian.auiplugin:ajs</dependency> <resource type="download" name="helloworld.css" location="/css/helloworld.css"/> <resource type="download" name="helloworld.js" location="/js/helloworld.js"/> <resource type="download" name="images/" location="/images"/> <context>helloworld</context> </web-resource> <!-- publish our component --> <component key="myPluginComponent" class="com.atlassian.tutorial.helloworld.MyPluginComponentImpl" public="true"> <interface>com.atlassian.tutorial.helloworld.MyPluginComponent</interface> </component> <!-- import from the product container --> <component-import key="applicationProperties" interface="com.atlassian.sal.api.ApplicationProperties" /> </atlassian-plugin>
Load the HelloWorld plugin into JIRA
- C:\cd atlastutorial/helloworld
- Open the
atlastutorial/helloworld/pom.xml
- Update the Company name and URL
- atlas-run
- That’s all!! You can see now your plugin installed in JIRA
Informasinya sangat bagus gan, sangat mudah dibaca dan dipahami isinya…
thanks yaa, jangan lupa juga untuk berkunjung ke web ku, oke!
Misteri dan Sejarah Benua Atlantis
Kurau Blog : Blog Tempat Pengetahuan dan Informasi
Cara Menghasilkan Uang dari Blog
Cara Mudah Belajar Forex Untuk Pemula
Cara Memutihkan Wajah Secara Alami
3 Destinasi Wisata Pantai di Bali Terbaik
Cara Install Ulang Windows 7 dengan Flashdisk
LikeLike
Thank you for the tutorial!
Next article is a step-by-step guide with the live examples from Atlassian expert. He shares his knowledge on how to create add-ons for JIRA using modern Atlassian Spring Scanner approach. Sample code is included: http://rozdoum.com/blog_articles/items/how-to-create-JIRA-Spring-Scanner-plugin-from-scratch.html
LikeLiked by 1 person
Very good post Sofia!
LikeLike