I want to change the Bugzilla workflow so that a user won t be able to close a bug unless the bug has gone through some phases (e.g. ASSIGNED, IN_PROGRESS, etc).
How do I change Bugzilla in order to create my own work flow?
I want to change the Bugzilla workflow so that a user won t be able to close a bug unless the bug has gone through some phases (e.g. ASSIGNED, IN_PROGRESS, etc).
How do I change Bugzilla in order to create my own work flow?
Have you tried changing the workflow from within bugzilla itself?
(Edit: updated URL for 5.0)
If your primary concern is permissions, you ll want to check out check_can_change_field in Bugzilla/Bug.pm.
There s only so much customization you can do in editworkflow.cgi, because RESOLVED much be reachable from any other status (because when it is marked as a duplicate, for instance, it becomes RESOLVED). The workflow itself doesn t consider the history of the bug.
If you really wanted to enforce this sort of business logic, you should start diving into process_bug.cgi. If someone want to set the status to FOO but it needs to have been in status BAR before, you could check the bug s history in bugs_activity.
But that s a lot of work, and you re likely to have special cases, more rules, more special cases, etc.
I think you would be better off identifying bugs that didn t go through the proper workflow after the fact. When you identify such a bug, you would reopen them or put them into whatever status.
You would do this by examining bugs_activity to see what values of bug_status have been added/removed.
You need to do it in two steps:
It is a way of doing
I am writing an installer using NSIS. I wanna know how to change or write a description(text on white header)on custom pages? For eg: I am inserting a customized page after the directory page and the ...
I ve been looking through the documentation and tried customizing and a variety of things, but no matter what I do it seems like Flymake just always places its temporary files into whatever directory ...
I m trying to run Octave from within emacs (I m mostly a beginner at both but have the hang of emacs shortcuts now). When I try run-octave as suggested here, I get the message. Searching for file, ...
How can I edit or add blocks on the sidebar in magento
I know this is a very specific question relating to BLAST and Bioinformatics but here goes: I am attempting to use standalone BLAST (I already have downloaded it and tested it running on the command ...
My scenario is this. We use NHibernate as our DAL. Each and every object fetched by it, be it a single object, a collection of objects or even child objects - whatever, we have to perform certain post ...
I have xsd defination <element name="primaryKey" nillable="false"> <complexType mixed="false"> <complexContent mixed="false"> <extension ...
i am looking to answer one of those problems that sometimes get give to us devs by sales staff trying to get a sale in under budget. We have a client that requires the following: Document management ...