Skip to main content

Kanban board plugin for Trac

Project description

Description

TracKanbanBoard is a Trac wiki macro for managing tickets with agile Kanban method. Add KanbanBoard macro to wiki page and use it to prioritize and manage tickets in the project.

Main features:

  • Define board columns and how they map to ticket states

  • Change ticket state by dragging tickets on the board

  • Add existing tickets to board by drag-and-dropping ticket links

  • Create new tickets directly from board

  • View and modify ticket fields (summary, description, etc.) and add comments from ticket detail dialog

  • Define what ticket fields are visible on ticket detail dialog

Installation

  1. Clone the repository:

    git clone https://projects.developer.nokia.com/git/TracKanbanBoard.git trackanbanboard
  2. Run setup script:

    cd trackanbanboard
    python setup.py install
  3. Enable component in Trac configuration:

    [components]
    trackanbanboard.* = enabled
  4. Create/modify wiki page and put KanbanBoard processor in it. Empty data will give an error but also the detailed usage instructions:

    This is wiki text:
    {{{
    #!KanbanBoard
    }}}

Data storage

Plugin uses Trac tickets as kanban board “cards”. Any existing ticket from project can be added to the board and modifed either from board or from default Trac ticket view.

Board configuration and state is stored on wiki page inside KanbanBoard processor block in JSON format (see example below). When cards are moved around, plugin updates the state and rewrites the wiki page.

Example

Here’s an example macro definition that produces Kanban board with three columns (New, Ongoing and Done) and shows status and priority fields in ticket dialog. First column contains three tickets (in order from top to bottom: #23, #24 and #25), second column one ticket and third column is empty. Invalid ticket IDs in configuration are ignored and removed automatically when board state is saved.

{{{
#!KanbanBoard height=250px
{
  "columns": [
    { "id": 1, "name": "New", "states": ["new"], "tickets": [23, 24, 25], "wip": 3 },
    { "id": 2, "name": "Ongoing", "states": ["assigned", "accepted", "reopened"], "tickets": [21], "wip": 3 },
    { "id": 3, "name": "Done", "states": ["closed"], "tickets": [], "wip": 5 }
  ],
  "fields": [
    "status", "priority"
  ]
}
}}}

Description for different options and properties can be displayed with [[MacroList(KanbanBoard)]] macro.

How to use

Tickets can be added to board by drag-and-dropping ticket links to board. Links can be dragged from same page as board, separate browser window or from the ticket query dialog which can be opened by clicking the ‘Add tickets’ button.

New ticket can be created by clicking the ‘New ticket’ button and entering ticket details. Tickets created this way are added to board automatically.

Each “card” on board displays ticket ID and summary. Additional details can be viewed in ticket detail dialog which can be opened by clicking individual cards. Detail dialog contains:

  • Link to corresponding Trac ticket page (in title bar)

  • Ticket creation and modification times

  • Summary

  • Any user defined fields (as defined by “fields” property in macro definition)

  • Ticket description as plain text

  • Change history

  • Comment field

If user has TICKET_MODIFY and WIKI_MODIFY permissions, summary, description, custom fields and comment are editable and changes can be saved by clicking ‘Save’ button.

Tickets can be removed from board by clicking ‘Remove from board’ button in ticket detail dialog. Removing ticket from board does not modify or delete the ticket.

If user has proper permissions ticket status can also be modified by dragging tickets from one column to another. In this case ticket’s new status is the first status of destination column’s “states” property.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TracKanbanBoard-0.2.tar.gz (152.6 kB view details)

Uploaded Source

File details

Details for the file TracKanbanBoard-0.2.tar.gz.

File metadata

  • Download URL: TracKanbanBoard-0.2.tar.gz
  • Upload date:
  • Size: 152.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for TracKanbanBoard-0.2.tar.gz
Algorithm Hash digest
SHA256 ab286fb14eacff519f84cd7f8ed5cc5f96e43374e62a6d4dd617385dbb952dbd
MD5 547837cf1ff2d72bf80b5cbb53fb9f16
BLAKE2b-256 c38f8d041a6977a9f71a8e1cbbd1af1c804fe459ccabba166d37127317f3806e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page