Redmine Issue Due Date plugin

I’ve just released another small plugin for Redmine, the Issue Due Date plugin. This plugin will automatically set the due dates for issues based their Version or Deliverable’s due dates. I found this is useful to keep track of the latest date an issue needs to be completed by.

Getting the plugin

A copy of the plugin can be downloaded from Little Stream Software or from GitHub

Usage

The plugin entirely works in the background when Issues, Versions, or Deliverables are saved. The plugin handles three separate states:

Issue edits

When an issue is edited, the plugin will check:

  • If the issue’s due date has been set on the Issue or
  • the deliverable has a due date or
  • the version has a due date

If any of those are true, the issue will have it’s due date updated. If multiple of them are true, the first one will be used.

Version or Deliverable edits

The plugin will also hook into Versions so when the version’s due date is updated, all issues assigned to the Version will be updated if the issues:

  • Do not have a due date or
  • Have a due date equal to the Version’s old date

Example:

  • Version X with a due of 2008-01-01 and issues of
    • Issues A (due on 2008-01-01)
    • Issue B (due on 2008-02-01)
    • Issue C (no due date)

Changing Version X’s date to 2008-01-15 will update the due date of:

  • Issue A to 2008-01-15. It has the same due date as the version, so it’s “following” the version.
  • Issue C to 2008-01-15. It did not have a due date so it was given the version’s due date.
  • Issue B’s due date will stay 2008-02-01.

Deliverables follow the exact same behavior.

Version or Deliverable reassignments

When reassigning an issue to a different version, if the issue due date matched the old version date, the issue will change it’s due date to match the new version.

Example:

  1. I have an issue assigned to Version A with a date that matches Version A
  2. If I change the issue to be assigned to Version B, then the date should change to version B’s due date.

Deliverables follow the exact same behavior.

Project help

If you need help you can contact me or create an issue in the Bug Tracker.

Thanks

I would like to thank Shane and Peter from Shane and Peter Inc for sponsoring this plugin. If you find it useful, send your appreciation their way.

If you are currently working on a Redmine plugin and need help or have an idea for a plugin you would like developed, please contact me. My company, Little Stream Software, specializes in the development of custom Redmine features and Redmine plugins.

Eric