JIRA and Confluence are highly versatile products that just about any team can use. But what if your team has special use cases or needs? That's where customization comes in – and you can do it, using the Plugins 2 (P2) framework for our Server family of products. Join developer advocate Melissa Paisley to learn how to start. She'll cover key technologies, walk through a demo, and show you where to get further information. Thanks to P2, you can make JIRA and Confluence a perfect fit for your team.
Melissa Paisley, Developer Support, Atlassian
4. What is P2?
The Atlassian Plugin Framework 2 is a
set of components for the Atlassian
Platform that allows you to build
plugins that extend the functionality
of Atlassian Server applications.
5. Building for Server - the Good
Customers
Server products have a large
established customer base.
Access
Atlassian JAVA API’s give
much less restricted access
to JIRA / Confluence.
6. Building for Server - the Bad
Environment(s)
There are multiple
supported platforms for
JIRA and Confluence server.
Access
Having all this extra access
can be a problem.
9. What is a server add-on?
An Atlassian server add-on is an OSGi
bundle JAR with some extras.
10. Tomcat web Apps
Confluence and JIRA server
are tomcat web applications
How do server add-ons work?
Felix OSGi container
Within the web application is
a Felix OSGi container
OSGi Bundle
The plugin JAR is a specially
modified OSGi bundle
12. The Atlassian SDK
Along with AMPS the Atlassian SDK
will help you generate a plugin
skeleton and get JIRA or Confluence
running to test it.
Know your
tools
Atlassian SDK
Spring Scanner
Quickreload
16. Build your Plugin
Generate a plugin skeleton
for JIRA or Confluence
Test your Plugin
Start a temporary JIRA or
Confluence instance with
your plugin installed
The Plugin SDK lets you
17. Spring Scanner
Spring Scanner works with AMPS to
make plugins faster to load and easier
to easier to develop.
https
Know your
tools
Atlassian SDK
Spring Scanner
Quickreload
18. Plugin Transformation with Spring Scanner
Scanning
The source code
is scanned for
special
annotations
Storage
The information
from the
annotations is
stored in a set of
index files
Runtime
At runtime the
index files are
read and
interpreted
accordingly
19. Quickreload
Scans for changes to plugin jar files
and automatically reloads when it
detects a change.
Know your
tools
Atlassian SDK
Spring Scanner
Quickreload
22. Remote Access Point
Product REST APIs provide an access point for
developing remote applications
Change Tolerant
Product REST APIs provide better change-
tolerance than JAVA APIs
JIRA and
Confluence
REST APIs
23. Remote Access Point
Product REST APIs provide an access point for
developing remote applications
Change Tolerant
Product REST APIs provide better change-
tolerance than JAVA APIs
JIRA and
Confluence
REST APIs
24. RESOURCES
API Browser
The REST API browser is
available within your JIRA and
Confluence development
environments.
API Doc
The REST API is also
documented at
docs.atlassian.com.
25. RESOURCES
API Browser
The REST API browser is
available within your JIRA and
Confluence development
environments.
API Doc
The REST API is also
documented at
docs.atlassian.com.
26. Mutable
Parts of the Java API may change even in bug-
fix releases. In addition, the Java API does not
always have in-depth documentation as certain
features may not be considered public.
Powerful
The Java API provides fast response times,
allows you to access more than is available in
the REST APIs
JIRA and
Confluence
Java APIs
27. With great power comes
great responsibility.
BEN PARKER, SPIDERMAN
28. Mutable
Parts of the Java API may change even in bug-
fix releases. In addition, the Java API does not
always have in-depth documentation as certain
features may not be considered public.
Powerful
The Java API provides fast response times, and
allows you access to almost everything.
JIRA and
Confluence
Java APIs