enterprise day 2015 - the enterprise mail handler for jira (plugin people)

21
The Enterprise Message Handler for JIRA Andy Brook | The Plugin People

Upload: riada-ab

Post on 16-Apr-2017

598 views

Category:

Technology


6 download

TRANSCRIPT

Page 1: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

The Enterprise Message Handler for JIRA

Andy Brook | The Plugin People

Page 2: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Enterprise Mail Handler for JIRA (JEMH)

ANDY BROOK  •    CTO  •    THE PLUGIN PEOPLE  •    @THEPLUGINPEOPLE

Page 3: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Agenda● What is JEMH?

● What can JEMH do for you!

● Optimizing mail handling

● JEMH vs JEMHC

Page 4: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

What is JEMH

Page 5: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)
Page 6: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Server or Cloud

Customers

Suppliers

Contractors

Agents

Legacy (<= 6.4.x)

Legacy Ticket Systems

Desktop Apps

Mobile Apps

JEMH JEMHC

Integration with JIRA

Page 7: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

What can JEMH

do for you!

Page 8: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Flexible integration of any email sender

● JIRA Users ● Email Only Users ● Unauthorized Users

Page 9: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Automate routing and manipulate issues

● Automatically Map mail to Projects with Rules

● Field Extraction to Custom Fields

● Directives

AAA

BBB

CCC

Sender email d

omain

Subject keyword

Group membership

biz importance : non-criticalbiz cateogry : gemini

The comment

priority : minorcomponents : gemini

The comment@priority=bocker@issueType=task@components=this,that,other@labels,this-thing,that-thing

Page 10: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Automate creation and Translate data

● Content Cleanup● Icon Removal

● Field Extraction to Custom Fields

● Directive Aliasing

- JIRA images

- Signatures

- Replied to content

System Notice:

Responsible party: BillBusiness-impact: 10

Description: we need to..…………………….

Importance = must haveProject Stream = grand-slam

priority = blockercomponents = grand-slam

System Notice:

Responsible party: BillBusiness-impact: 10

Description: we need to..…………………….

Page 11: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

JEMH primary notification methods

● Event Listener ● Workflow Postfunction

● Ad hoc notifications

Page 12: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Customizing notifications

● Template Sets● Velocimacros

● Design time preview ● Use templates in Ad hoc notifications, preview too

Page 13: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Project Mappings

● One Profile, many mappings

● Rule match strategies, firstMatch or rulePriority

● Rule level tailoring

Page 14: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Optimizing

Mail Handling

Page 15: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Reduce mailbox polling to scaleJIRA InboundMail Server

JIRA InboundMail Server

JIRA InboundMail Server

AAA

ZZZ

<[email protected]>

<[email protected]>

<[email protected]>

JEMH Profile :Project Mappings

JEMHMail Handler

JIRA InboundMail Server

AAA

ZZZ

JEMH Profile :Project Mappings

JEMHMail Handler

JEMH Profile :Project Mappings

JEMHMail Handler

<[email protected]>

<[email protected]>

<[email protected]>

● 1:1 ratio between mailboxes and mail handers is fine for small numbers of mailboxes, it won't scale. Mailboxes are polled sequentially, so will only get slower

● Mulitple inbound mailserves can drive individual mail handlers that in turn use a common Profile, to save configuration overhead

● Arranging for all required mail to be in one physical mailbox (eg through Aliases or serer side re-routing) allows one inbound mailserver, one mail handler, one Profile ; this enables JEMH to demultiplex all mail to all mapped projects

● Every single mailbox poll will then retreive and process all mail

Page 16: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

JEMH & JEMHC

Page 17: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

JEMH and JEMHC Features : both tasty but different

Page 18: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Major differences

JIRA Server + JEMH JIRA Cloud + JEMHC

● Is older, more established, features more fleshed out● Is scalable through JIRA Data Center● High volume (messages/data) scenarios

a)Your instance has unlimited (theoretical) storage● JEMH is in-VM so:

a) can assume identity of senders for issue creationb) can work with the rich Issue Event model of JIRAc) has access to all JIRA internal API's, eg workflow

● Is newer, some features are missing/not yet implemented● Low-Medium volume (messages/data) scenarios

a) JIRACloud is limited to 25GB storage total (ever) for <500users, 100GB for 500+ users

b) JEMHC Plan tiering not best suited for small JIRA user instances with high volumes

● JEMHC is not in-VM so:a) cannot impersonate users (

https://ecosystem.atlassian.net/browse/AC-1080 )b) can only work with a restricted set of

CREATE/UPDATE/DELETE/WorkLogged eventsc) cannot by default use every available REST resource, for

example, looking up users by email address ( https://ecosystem.atlassian.net/browse/AC-1014 )

d) Is limited to using data that is exposed through REST, eg cannot get full workflow details

Page 19: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Questions

Page 20: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Andy Brook •  CTO •  The Plugin People •  @thepluginpeople

Thank you!

Page 21: Enterprise Day 2015 - The Enterprise Mail Handler for JIRA (Plugin People)

Links● JEMH on Atlassian Marketplace ( https://marketplace.atlassian.com/plugins/com.javahollic.jira.jemh-ui )● Create A Profile ( https://thepluginpeople.atlassian.net/wiki/display/JEMH/Create+a+Profile )● Use Project Mappings ( https://thepluginpeople.atlassian.net/wiki/display/JEMH/Use+Project+Mappings )● Use Directives ( https://thepluginpeople.atlassian.net/wiki/display/JEMH/Use+Directives ) ● Use Template Sets ( https://thepluginpeople.atlassian.net/wiki/pages/viewpage.action?pageId=2850840 )

Contact● JEMH Support: <[email protected]>● Issues: thepluginpeople.atlassian.net/browse/JEMH● Sales: <[email protected]>