Skip to content

A complete ticketing/issue management system implemented in 15 lines of code.

Notifications You must be signed in to change notification settings

complexitycollapse/minimal-viable-ticket-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Minimal Viable Ticket System

This is an example of a Minimal Viable Program, defined as "the smallest program that solves a particular problem". In this case, the problem is ticketing/issue management. With this system you can raise, edit, close, delete and reassign tickets, as well as calculate various statistics (e.g. number of open tickets), yet the core of the program is just 20 lines long.

The idea comes from https://joearms.github.io/published/2014-06-25-minimal-viable-program.html which describes an actually used-in-production ticketing system that works on the same principle. To create an instance of the system, just fork this repo. To use it, open a terminal and change directory to your fork, then raise a ticket by running

./newticket "Put the title of the ticket here"

The ticket will be created in the tickets folder, and the number of the ticket (which is also its filename) will be returned. A new ticket looks like this:

ticket: 1
responsible: <your_git_name>
status: open
title: Put the title of the ticket here
----
Describe your problem here

The ticket will already have been committed to the repo and pushed upstream. You can edit it further with your favourite text editor and commit the changes.

About

A complete ticketing/issue management system implemented in 15 lines of code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages