add-ons for jira - wordpress.comadd-ons for jira_ raimar falke aug hamburg, 22. june 2015 . about 2...

19
Add-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015

Upload: others

Post on 14-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Add-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015

Page 2: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

About

2

Page 3: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Customization Levels

3

Page 4: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Level 0: As downloaded

4

Page 5: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Level 1: Discovering the Admin menu

5

Page 6: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Level 2: Marketplace to the rescue

6

Page 7: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Level 3: Solve problems with code

7

Page 8: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Level 3: Solve problems with code

8

• Mostly Javascript and Groovy (script runner) •  Distribution (banner, description) •  Staging vs Production •  Revisioned? (file system)

Page 9: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Level 4: Custom add-on

9

Page 10: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Custom developed add-on

Advantages. •  Software developed like software •  Code and add-on are revisioned •  Tests, tests, tests (blog.codecentric.de)

•  Bundle functionality, data and config •  Can control almost all aspects of JIRA •  Custom made

10

Page 11: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Custom developed add-on

Disadvantages. •  You need (a) software developer(s) •  Customer must specify functionality •  Every project has risks • Maintenace costs

11

Page 12: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

12

Under the hood

Page 13: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

OSGi

13

Page 14: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

What is an add-on?

JIRA add-on

Java Classes

HTML / CSS / Javascript

Add-on Configuration

14

Page 15: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

APIs

How to interact. •  Java: API (may also get source code for $10) •  Javascript: AJS (jQuery with custom name) •  GUI: AUI (Atlassian User Interface)

15

Page 16: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Modules

•  Add-on = set of modules •  34 module types describe extention points •  Keyboard Shortcut, Custom Field•  Project, Issue and Version Tab Panel•  JQL Function, Servlet Filter, Report•  Workflow: Condition, Post Function, Validator•  Gadgets, RPC and REST Endpoint•  …

•  Type specific config •  References: Java, Javascript, HTML, SOY

templates, I18N resources, CSS, images,… •  Specified in atlassian-plugin.xml

16

Page 17: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Getting started

First round trip. 1.  Download SDK (custom maven) 2. atlas-create-jira-plugin 3. atlas-create-jira-plugin-module 4. Optional: add some code 5. atlas-run 6. After startup JIRA is at localhost:2990 7.  atlas-package to get a deployable JAR 8. Optional: Purchase JIRA for $10 to get the

source code

17

Page 18: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

Distribution Te

sted

JA

R

To Marketplace

Upload JAR to production server

Customer

Developer

18

Page 19: Add-Ons for JIRA - WordPress.comAdd-Ons for JIRA_ Raimar Falke AUG Hamburg, 22. June 2015 . About 2 . Customization Levels 3 . Level 0: As downloaded 4 . Level 1: Discovering the Admin

19

Thank you!

19

Photos from wikimedia.org and geograph.org.uk