12
provectus.com

Atlassian sdk (2)

Embed Size (px)

Citation preview

Page 1: Atlassian sdk (2)

provectus.com

Page 2: Atlassian sdk (2)

provectus.com

The SDK – Development

• Install Maven- Use POMs, settings and repos- Become a Maven expert to do this

• Create a skeleton Project• Check your changes as you go

- Restart the entire application each time you do

Page 3: Atlassian sdk (2)

provectus.comWhat’s in the SDK?

• User-friendly shell• Embedded, jailed Maven 2.1.0

- Preconfigured settings.xml• From the command line:

- Different versions of products- Different containers

• No Maven setup required

Page 4: Atlassian sdk (2)

provectus.com

SDK Design Goals

• Same usage for all products• Make plugin creation easy• Fastest possible compile/test/debug cycle

Page 5: Atlassian sdk (2)

provectus.com

Frequently Used SDK Commands

• Creating a New Plugin from Scratch• Running a Plugin in an Application• Specifying a Version of the Application• Specifying a Version of SAL• Running Integration Tests against a Different Application• Running your Plugin in Multiple Applications• Using the Maven Command Line Interface• Generating Test Data for Re-Use

Page 6: Atlassian sdk (2)

provectus.com

Extend & integrate with Atlassian Connect• You can use the Atlassian Connect framework to build add-ons for Atlassian

applications like JIRA and Confluence. An add-on could be an integration with another existing service, new features for the Atlassian application, or even a new product that runs within the Atlassian application. You can also create add-ons for HipChat.

• Simply understood, Atlassian Connect add-ons are web applications. Connect add-ons operate remotely over HTTP and can be written with any programming language and web framework.

Page 7: Atlassian sdk (2)

provectus.com

Fundamentally, Connect add-ons have three major capabilities:

• Insert content in certain defined places in the Atlassian application's UI.• Make calls to the Atlassian application's REST API.• Listen and respond to WebHooks fired by the Atlassian application.

Page 8: Atlassian sdk (2)

provectus.com

Atlassian User Interface

• AUI is a tailor-made frontend library for creating a user interface according to the Atlassian Design Guidelines.

• https://docs.atlassian.com/aui/

Page 9: Atlassian sdk (2)

provectus.comActive Objects

• Active Objects is a new ORM (object relational mapping) layer into Atlassian products. Active Objects is implemented as a plugin into Atlassian applications. It enables easier, faster, and more scalable data access and storage than the existing Bandana and PluginSettings APIs.

• The goal of the Active Objects plugin is to provide a plugin data storage component that plugins can and should use to persist their private data.

Page 10: Atlassian sdk (2)

provectus.com

• Access to our huge customer base. Customers are already using Atlassian host products. All customers using our products are routed to the Marketplace when they look for an add-on.

• Customers can try or buy, right from their product instance. Your add-on is accessible for installation, trial, and purchase inside our product instances via the Universal Plugin Manager (UPM).

• Use our licensing support.Let customers pay for your add-on via Atlassian, and you can use our Marketplace licensing support. Simpler for you, profit for all of us. We simplify licensing and store information at my.atlassian.com.

• We'll handle checkout. Your paid-via-Atlassian add-on is purchasable through our shopping cart system. We'll help you set pricing, and you can forget about the rest.

• Make money. Our model is similar to other app stores. You receive 75% of the revenue your add-on sales and Atlassian receives 25%. Atlassian uses the shared add-on sale revenue to run the Atlassian Marketplace and to reinvest in our development ecosystem.

• We tell your customers when you release new versions. We tell customers when there are upgrade or update opportunities for your add-on, right inside their Atlassian host product.

• It's in our best interest to help you profit, and vice versa. Access to solid add-ons helps market our products, and our flexible products help market your add-ons.

Page 11: Atlassian sdk (2)

provectus.com

ScriptRunner for JIRA

• ScriptRunner is a collection of powerful but easy-to-use workflow functions, JQL functions, listeners and services.

• Either augment the ones provided with groovy, or write your own. You may never need to write your own java Add-on again.

Page 12: Atlassian sdk (2)

provectus.com

Frequently Asked Questions

• Issues weren’t indexed after creation.• Can’t build & install plugin after creation.• AUI - API conflicts.