Hi,

Here is a patch which allows configuring custom status workflow for Bugzilla
- it should be specified in daemon.conf -> bugtracker -> bug_status_map
(look at the attached example).

In order to use status names with "_" (e.g. IN_PROGRESS) - glue.conf should
also be modified (otherwise "_" is replaced with " " by default). e.g.:
resolution_status_convert_from => '!',


The patch expects following to be easily applied:
* Scmbug 0.26.22
* General support for Bugzilla 4.0 (+ a few other changes I've made):
http://www.mail-archive.com/scmbug-users@lists.mkgnu.net/msg02522/scmbug-customization-0.26.22.patch.gz
* BugtrackerFactory patch: http://bugzilla.mkgnu.net/attachment.cgi?id=486 (
http://bugzilla.mkgnu.net/show_bug.cgi?id=1073)

Should work fine with Bugzilla >= 3.2 but I have only tested 4.0. (Versions
< 3.2 should also work but the old status names must be used in such case).

Regards,
Yavor

On Fri, Mar 11, 2011 at 13:46, Yavor Nikolov <nikolov.ja...@gmail.com>wrote:

> Sure, I'd also like to be able to use different status workflow (this is
> not something new - customized workflows in older bugzilla have not been
> supported either).
> I may try to implement some experimental support for this since I want to
> try migrating to new state names too. A quick and quite dirty workaround
> would be patching Bugzilla.pm - replacing some strings (ASSIGNED ->
> IN_PROGRESS, etc).
>
> Not sure when will be available official release of scmbug with support for
> bugzilla 4.0. What could help moving forward is more feedback (negative &
> positive) on how does it behave with the currently available hot-fix
> patches.
>
> Regards,
> Yavor
>
>
> On Tue, Mar 8, 2011 at 12:27, Michel Pittelkow - michael-wessel.de <
> m...@michael-wessel.de> wrote:
>
>> The error below was fixed by a REPAIR TABLE bugs_fulltext; statement. Has
>> been corrupted on last reboot perhaps.
>>
>> Well reinstalling 3.6 and upgrading would fix those issues, you're right.
>> But that is somehow just a workaround. I want to use 4 and I think the
>> updated status_names are better than before.
>>
>> Are there plans to release an official scmbug RELEASE für bugzilla 4.0
>> support? Do you know when this will be?
>>
>> Mit freundlichen Grüßen / Kind regards
>> Michel Pittelkow
>>
>

Attachment: scmbug_bugzilla_custom_status_workflow.patch.gz
Description: GNU Zip compressed data

Attachment: daemon_conf_bugtracker_bug_status_map.txt.gz
Description: GNU Zip compressed data

_______________________________________________
scmbug-users mailing list
scmbug-users@lists.mkgnu.net
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to