Opened 12 years ago

Closed 11 years ago

#638 closed enhancement (invalid)

Add validation to ScrumBurndownPlugin for closing tickets

Reported by: Sam Bloomquist Owned by: Sam Bloomquist
Priority: low Component: ScrumBurndownPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.10


You should not be able to close a ticket unless the time_spent and current_estimate are equal to each other.

Attachments (1)

automaticclose-diff.patch (1.5 KB) - added by Olger Warnier 12 years ago.
patch that automatically sets the estimated time to 0 when a ticket is closed

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by Olger Warnier

As mentioned in ticket:637 I have a patch available that will automatically put the current_estimate to 0 when the ticket is closed.

It is used like that because we do the planning according the daily scrum, see and update the time we expect to work on the ticket, not the amount of time we did work on the ticket. That way, the current estimate should move towards 0 when you are done with the ticket (original estimate and time spent are not used in this scenario).

As we use the SVN hooks to automatically close tickets, it means that no additional work on the website is required for the developer in order to deal with the burndown (in the perfect world ;) )

Do you mind to keep this scenario in mind too when you create this enhancement ? Patch file is attached to give you an idea how it was solved (pretty simple)

Changed 12 years ago by Olger Warnier

Attachment: automaticclose-diff.patch added

patch that automatically sets the estimated time to 0 when a ticket is closed

comment:2 Changed 12 years ago by Olger Warnier

Trac Release: 0.90.10

One additional small comment: your wiki states that you need a integer data type (to be added to the trac somehow). I could not figure out how to do that (trac 0.10) but it seems to work with custom ticket fields based on text.

Keeping the fields text makes it much more simple to install and use the plugin.

comment:3 Changed 12 years ago by Sam Bloomquist

Priority: normallow

comment:4 Changed 11 years ago by Sam Bloomquist

Resolution: invalid
Status: newclosed

I'm closing this one because the already ignores closed tickets so this isn't really necessary.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Sam Bloomquist.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.