JIRA 5 is coming – we've only done four major releases in the last nine years, so you know this one is big. We're getting ready to inaugurate a new era in JIRA plugin development with JIRA 5, and the JIRA product manager and JIRA architect will be there to share how you can build with JIRA for the next decade.
Matt Quail, JIRA Architect
5. JIRA Plugins
Easier to Consume Easier to Develop
5
Thursday, 29 September 11
6. Easier to Consume: Adoption
Find Install
UPM + PAC
Thursday, 29 September 11
7. Easier to Consume: Upgrades
No Restart Required
Thursday, 29 September 11
8. Introducing the JIRA Stable API
Implementation
JIRA Stable API Classes
jira-api.jar atlassian-jira.jar jira-core.jar
“Public classes used by No promises of
Stable within one stability
plugin developers at their
major release to
own risk”
the next
8
Thursday, 29 September 11
9. Stability
• Forwards binary compatibility for minor releases
• Deprecated methods removed at next major release
5.0 5.1 5.x 6.0
major release method deprecated method removed
At least 12 months
9
Thursday, 29 September 11
10. How to make your plugin as
stable as possible
1.Use jira-api.jar
2.Avoid jira-core.jiar
3.Give us feedback.
10
Thursday, 29 September 11
11. Easier to Develop: Get Started
• See Jonathan and Zach’s talk
from yesterday:
“The Atlassian SDK goes to 11”
• Don’s talk up next:
“Five Strategies to Accelerate
Plugin Dev”
11
Thursday, 29 September 11
14. ActiveObjects in JIRA
• Storage for Plugins
• Jason’s talk yesterday: “Using AO
for Rapid Plugin Dev”
• Supported in JIRA 5.0!
• Schema management, SQL
support
• Integrated into JIRA Backup/
Restore
• Already used by GreenHopper,
Activity Streams
14
Thursday, 29 September 11
15. JIRA UI
• Single Decorator
Consistent markup/CSS across JIRA pages
Better performance for client & server
More stability surrounding the markup/CSS
Improved markup structure/semantics
Default styles reflect Look & Feel
• AUI
Yesterday’s What’s New in AUI talk
15
Thursday, 29 September 11
16. Internalizing plugins
Remote Issue Links
Project
Configuration
Workflow
Designer Quick Edit
Studio plugins migrating to stable APIs JIRA now develops more in plugins
16
Thursday, 29 September 11
17. Getting 5.0 Compatible!
JIRA API Guru
Sessions @
AtlasCamp
Wednesday Noon-2 PM
Thursday 3-5 PM
Friday 3-5 PM
17
Thursday, 29 September 11
18. Remote Integration to JIRA
• Why Remote?
Install
Zero Customer Install Integrates with JIRA Studio Lightweight Web Standards
And some new features specifically designed for remote integration!
18
Thursday, 29 September 11
19. What’s up with JIRA REST?
• Moved from Alpha to Stable
• Now our primary Remote protocol
• Easy to use with JS/HTML, Ruby, Python, PHP, etc.
19
Thursday, 29 September 11
20. REST in 5.0 - full banquet
• See Rich’s talk tomorrow afternoon:
“JIRA 5.0 REST API”
20
Thursday, 29 September 11
21. REST in 5.0 - quick taste
{
"id":"10000",
"key":"TST-1",
• Get an issue: "fields":{
"summary":"Issue under test",
"created":"2011-06-29T18:40:56.287+1000",
GET http://localhost:8080/rest/api/2/issue/TST-1 "updated":"2011-09-26T14:30:06.871+1000",
"description":"This is the issue under test.",
• Update Summary: "status":{
"iconUrl":"http://localhost:8080/images/icons/...",
"name":"Open",
PUT http://localhost:8080/rest/api/2/issue/TST-1 "id":"1"
},
{ "labels":["abc"],
"fields":{ "assignee":{
"summary":"new summary", "name":"admin",
} "emailAddress":"admin@example.com",
} "avatarUrls":{
"16x16":"http://localhost:8080/secure/
useravatar?size=small&avatarId=10062",
21
Thursday, 29 September 11
23. Tell me more about REST!
REST in JIRA 5.0 In REST, not in SOAP
Custom Fields (inc
Search Issues
names), Labels,
Get Issue Details
Attachments, Avatars,
A few project APIs
Icons, Move, Watch,
+Better Search
Voting Issue, Screen Info,
+All Issue Details
Rendered HTML,
+Create Issue
Autocomplete, “Non-
+Edit Issue
chatty” Metadata, Query a
+Full Metadata
subset of the fields, Set
=Full Issue Support Securty Level, Manage
Issue Links, Change Log
23
Thursday, 29 September 11
26. Add a Link easily via REST
POST to http://<JIRA Server>/rest/api/2/issue/<IssueKey>/remotelink
26
Thursday, 29 September 11
27. Custom Remote Link Plugins
• Render
Render the link differently
Update the link data from the remote
source
• Custom “Add Link” Dialogs
Add link via key vs URL
Add remote search
27
Thursday, 29 September 11
28. Activity Streams via REST
• Simple Add Activity API
via REST (or Java)
• “Get in the Flow with
Atlassian Streams”
• Ben Woskow, 1:30 PM
Thursday (today!)
28
Thursday, 29 September 11
29. A couple of extra goodies....
29
Thursday, 29 September 11
30. JIRA Issue Collector
With a small snippet of JS,
get this widget on your
website:
And the user’s feedback
becomes a JIRA Issue
https://plugins.atlassian.com/
plugin/details/583856
30
Thursday, 29 September 11
31. JIRA Mobile Connect
User Feedback and Issue Tracking for Mobile App Developers
Contextual, Automated Crash Reporting. Interactive Feedback.
Data Reporting Done Right.
31
Thursday, 29 September 11
32. JIRA Issue Collector
JIRA Mobile Connect
Gadgets
Decorators
AUI Vertical
Remote
Applications
Activity Streams Integration
on JIRA
Remote Issue Links
JIRA REST APIs
Active Objects
JIRA Stable API Stable Rapid
Plugins 2.0
Development Development
SAL
Application Links
32
Thursday, 29 September 11
33. SEPTEMBER
28 If you are 5.0 Compatible in
OCTOBER time for JIRA’s launch:
31
RC1 then you launch with JIRA.
Contact Kyle Miller
(kmiller@atlassian.com) for
NOVEMBER
details!
30 final/launch
33
Thursday, 29 September 11