Home > jira-kanban-printer

jira-kanban-printer

Jira-kanban-printer is a project mainly written in GROOVY and PERL, it's free.

A over-engineered solution for printing kanban boards automatically

h1. JIRA Print Server

We had an urge to start trying KANBAN at the office. We use JIRA for all issue-tracking, but we wanted a physical board, so we needed a way to print our cards from JIRA.

The solution was this over-engineered pile of crap, with a massive amounts of components:

  • A Groovy script to plug into JIRA ** This depends on the ScriptRunner plugin for JIRA * https://plugins.atlassian.com/plugin/details/6820 This needs to be added to a transaction that basically just goes from and to the same step! (Call it Print kanban card)
  • A Mojolicious::Lite web-server to recieve commands from the Groovy script
  • A ZeroMQ PUB-SUB from the web service to a PDFifier ** Cause we don't want the webserver to block, waiting for PDF production
  • The PDFifier uses LaTeX to produce a PDF of an issue. ** Not only that, it produces two identical pages!
  • The PDF gets moved to a queue
  • We have an AnyEvent-based daemon watching that directory ** When files are created, it will print using CUPS and remove the PDF

h2. Other stuff

h3. misc/

In the misc-directory, two of the examples from the Net::CUPS-distro is included, to aid in any debugging that might be required

h3. tex/

This is the compiled/unpacked verion of the foils package for tex, which I got inspired to use from this:

http://cs.acadiau.ca/~jdiamond/tex-reference-material/FancyPresentations.pdf

h3. Resources

h4. ØMQ-introductions

  • http://nichol.as/zeromq-an-introduction
  • http://mitkokostov.info/post/1151080898/zeromq-messaging-patterns
  • Long: http://zguide.zeromq.org/chapter:all