wiki:PendingTicketPlugin

Version 10 (modified by Ryan J Ollos, 8 years ago) (diff)

Remove information about obsolete Trac version.

Support for Pending Tickets

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin allows an administrator to mark a Ticket as "Pending" to indicate that information has been requested from the reporter. If the reporter doesn't reply within the allotted timeframe, the ticket will be closed automatically.

This works well when combined with the SimpleTicketPlugin.

Bugs/Feature Requests

Existing bugs and feature requests for PendingTicketPlugin are here.

If you have any issues, create a new ticket.

defect

4 / 4

enhancement

1 / 1

Download

Download the zipped source from here.

Source

You can check out PendingTicketPlugin from here using Subversion, or browse the source with Trac.

Installation

If upgrading from Trac 0.10, you will need to convert the data using the migrate_pending_attrib_to_status.py /path/to/tracenv script which is included.

Set up your ticket workflow to include a 'pending' status, for example in your trac.ini file:

[ticket-workflow]
pending = new -> pending
pending.permissions = TICKET_MODIFY

Specify a status for tickets that it needs to be moved to:

[ticket]
pending_removal_status = new

Install the PendingStatusRemovePlugin to have the pending flag automatically removed when the reporter responds:

<CHECKOUT THE SOURCE AND GO TO THE ../removependingplugin DIRECTORY>
setup.py bdist_egg
cp dist/RemovePendingStatusPlugin-x-y-z-py2.4.egg $TRAC_ENV/plugins

You will also need to enable the Plugin in your trac.ini file:

[components]
removepending.* = enabled

To enable the automatic closing of tickets, you'll need to set up a script to be run by cron. Mine looks like this:

#! /bin/bash

TRAC_ENV=/somewhere/trac/project
SCRIPT_DIR=$TRAC_ENV/localscripts
LOGFILE=$SCRIPT_DIR/close_old_pending.log

date >> $LOGFILE

python $SCRIPT_DIR/close_old_pending.py -p $TRAC_ENV -d 14 >> $LOGFILE 2>&1

Recent Changes

16275 by rjollos on 2017-03-02 01:36:02
1.2.0: Fix error in r16274
16274 by rjollos on 2017-03-02 01:34:40
1.2.0: Prepare for release
15998 by rjollos on 2016-11-23 21:41:15
1.2dev: Use Trac 1.2 notification API

Fixes #12964.

(more)

Author/Contributors

Author: datallah
Maintainer: none (needsadoption)
Contributors: