Post on 27-Jul-2015
Спикер:
Тема презентации:
Саксонов Андрей Иванович
Разработка плагинов для Atlassian JIRA
Atlassian JIRA
JIRA is the tracker for teams planning and building great products. Thousands of teams choose JIRA to capture and organize issues, assign work, and follow team activity. At your desk or on the go with the new mobile interface, JIRA helps your team get the job done.
Плагины для JIRA
Plain Tasks
Плагины для JIRA
Folio
Плагины для JIRA
Tempo
Плагины для JIRA
Profields
Atlassian SDK
https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project/install-the-atlassian-sdk-on-a-windows-system
• JIRA• Confluence• Crowd• …• Shared Access Layer (SAL)
Command Line Tools
• Scaffold• atlas-create-jira-plugin• atlas-create-jira-plugin-module
• Build• atlas-clean• atlas-compile• atlas-package
• Test• atlas-unit-test• atlas-integration-test• atlas-clover
• Run• atlas-run• atlas-debug
• Other Tools• atlas-cli• atlas-create-home-zip• atlas-mvn• atlas-update• atlas-help• atlas-install-plugin• atlas-release• atlas-version
Технологии
• Java 7• Maven 3• OSGi• ActiveObjects (Apache OFBiz, SQL)• Dependency Injection Container (Pico
& Spring 2.5)• JAX-RS (REST)• Apache Lucene• Quartz• Seraph• JUnit 4• Velocity• Atlassian User Interface (Standalone)• Google Gadgets (HTML, JavaScript,
Flash, Silverlight)
Plugin Descriptor
Plugin Descriptor
Возможности
https://developer.atlassian.com/docs/getting-started/plugin-modules/plugin-module-index
• Code Sharing• Component• Component Import
• JEE Container Integration• Servlet Context Listener• Servlet Context Parameter• Servlet Filter• Servlet
• User Interface• Web Item• Web Section• Web Panel• Web Panel Renderer• Web Resource• Web Resource Transformer
• Other Types• REST• Gadget• Report
• UI Enhancements• Project Tab Panel• Component Tab Panel• Version Tab Panel• Issue Tab Panel• Search Request View
• Custom Workflows• Workflow Conditions• Workflow Validators• Workflow Functions
• Custom Fields
• Custom Actions• JQL Functions• Remote API
• SOAP• XML-RPC
• Custom Macros• Code Formatting• System Tasks
• Job• Lifecycle• Triggers
• Look & Feel• Decorators• Language• Theme
API
• com.atlassian.jira.component.ComponentAccessor• getApplicationProperties()• getAttachmentManager()• getAvatarManager()• getCommentManager()• getProjectManager()• getIssueManager()• getIssueLinkManager()• getCustomFieldManager()• getMailServerManager()• getMailQueue()• getPermissionManager()• …
Примеры
bitbucket.org/atlassian_tutorial
Пример
https://bitbucket.org/atlassian_tutorial/refapp-rest-service-plugin
pom.xml
atlassian-plugin.xml
Пример
https://bitbucket.org/atlassian_tutorial/refapp-rest-service-plugin
MyRestResourceModel.java
Пример
https://bitbucket.org/atlassian_tutorial/refapp-rest-service-plugin
MyRestResource.java
Литература
Вопросы и ответы
Questions?