enterprise day 2015 - the enterprise mail handler for jira (plugin people)
TRANSCRIPT
The Enterprise Message Handler for JIRA
Andy Brook | The Plugin People
Enterprise Mail Handler for JIRA (JEMH)
ANDY BROOK • CTO • THE PLUGIN PEOPLE • @THEPLUGINPEOPLE
Agenda● What is JEMH?
● What can JEMH do for you!
● Optimizing mail handling
● JEMH vs JEMHC
What is JEMH
Server or Cloud
Customers
Suppliers
Contractors
Agents
Legacy (<= 6.4.x)
Legacy Ticket Systems
Desktop Apps
Mobile Apps
JEMH JEMHC
Integration with JIRA
What can JEMH
do for you!
Flexible integration of any email sender
● JIRA Users ● Email Only Users ● Unauthorized Users
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
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..…………………….
JEMH primary notification methods
● Event Listener ● Workflow Postfunction
● Ad hoc notifications
Customizing notifications
● Template Sets● Velocimacros
● Design time preview ● Use templates in Ad hoc notifications, preview too
Project Mappings
● One Profile, many mappings
● Rule match strategies, firstMatch or rulePriority
● Rule level tailoring
Optimizing
Mail Handling
Reduce mailbox polling to scaleJIRA InboundMail Server
JIRA InboundMail Server
JIRA InboundMail Server
AAA
ZZZ
JEMH Profile :Project Mappings
JEMHMail Handler
JIRA InboundMail Server
AAA
ZZZ
JEMH Profile :Project Mappings
JEMHMail Handler
JEMH Profile :Project Mappings
JEMHMail Handler
● 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
JEMH & JEMHC
JEMH and JEMHC Features : both tasty but different
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
Questions
Andy Brook • CTO • The Plugin People • @thepluginpeople
Thank you!
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]>