Skip to content

tschutter/bztotj

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
December 2, 2012 15:57

bztotj

Export Bugzilla bugs to a TaskJuggler project.

Usage

Export bugs to a TaskJuggler include file:

bztotj.py MILESTONE [MILESTONE...]

This creates the files "bugzilla_flags.tji", "bugzilla_project.tji", "MILESTONE_resolved_tasks.tji", and "MILESTONE_open_tasks.tji". Import them as shown in the example project "bzexample.tjp":

project bzexample "Example" "1.0" 2012-05-01 2012-06-01 {
  include "bugzilla_project.tji"
}

# Flag declarations.
include "bugzilla_flags.tji"

# Resource definitions.
# Define Bugzilla users here.
resource tjefferson "Thomas Jefferson" { }

# Include the tasks exported from Bugzilla
task resolved_tasks "Resolved Tasks" { }
include "bzexample_resolved_tasks.tji" { taskprefix resolved_tasks }
task open_tasks "Open Tasks" {
  start 2012-05-01
}
include "bzexample_open_tasks.tji" { taskprefix open_tasks }

# Charts
...

Bugzilla Assumptions

This script makes some assumptions regarding your Bugzilla installation.

  1. The database is MySQL.
  2. Grouping bugs all have a common description prefix. The default prefix is "META: ". Bugs that are part of a group are made into subtasks of that group.
  3. Not all bugs will have an time estimate. Those bugs are flagged and assigned a default effort.
  4. The set of priority values is ["P1", "P2", "P3", "P4", "P5"].
  5. The lowest bug priority of "P5" means that the bug is not prioritized. Those bugs are flagged.

About

Export Bugzilla bugs to a TaskJuggler project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages