On 11/2/06, AriT93 <[EMAIL PROTECTED]> wrote:
Are there any tools out there for pulling data from bugzilla or Trac?
specifically I was looking at a way of creating tasks from bugreports
and possible creating notes and editing the bug status.

I saw some code which extracted Bugzilla data into a TaskJuggler
project.  It's written in Python, and while it does not produce
Planner-readable data, it might be a place to start.  I don't know how
well it works.  Look at http://www.taskjuggler.org/contrib.php

Currently I just add a link in a task or note to the bug
(ie,[[http://bugzilla][Error]]), and that is one solution.  It just
seemed that there could be a way to automate that.

I use the following functions to reference Bugzilla.  I bind
`insert-bugzilla-url' to a key, then it is very easy to include a link
to a Bugzilla entry directly in a task description.

(defun bugzilla-bug-to-url (bugnum)
 "Convert a Bugzilla bug number into a URL (string)."
 (let ((url-base "https://bugzilla.example.com";))
   (concat url-base "/show_bug.cgi?id=" (number-to-string bugnum))))

(defun insert-bugzilla-url (bugnum)
 "Insert a Bugzilla URL in Emacs-Wiki format"
 (interactive "*nBug number: ")
 (insert-string (concat "{{[[" (bugzilla-bug-to-url bugnum) "]"
                         "[Bugzilla #" (number-to-string bugnum) "]]}}")))

_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss

Reply via email to