Patch #4975

Add feature to automatically archive old projects

Added by Aaron Fischer over 11 years ago. Updated 20 days ago.

Status:ClosedStart date:2010-03-03
Priority:LowDue date:
Assignee:-% Done:

100%

Category:Projects
Target version:-

Description

We host a lot of projects and we needed a solution to archive projects without activity. The included patch implement this feature.

  • Request <HOST>/sys/mark_all_inactive_projects and
    status for all inactive projects (no activity since
    one month) are changed to STATUS_INACTIVE.
  • All users which has permissions to reactivate
    project receive a mail notification with a reactivate URL.
  • If user clicks link in mail project status changes
    to active.
  • Request <HOST>/sys/archive_inactive_projects and
    all inactive projects will be archived. (STATUS_ARCHIVED).
Exceptions:
  • projects newer than a month are not affected
  • if project has activity since mail it will not be archived
    and will be set as STATUS_ACTIVE.

0001-Add-feature-to-automatically-archive-old-projects.patch Magnifier - Impmenentation (44.4 KB) Aaron Fischer, 2010-03-03 16:09


Related issues

Related to Redmine - Feature #13725: Archive/close a project via API Closed

History

#1 Updated by Jean-Philippe Lang over 11 years ago

  • Category set to Projects

#2 Updated by Go MAEDA almost 3 years ago

#3 Updated by Go MAEDA 20 days ago

  • Status changed from New to Closed

API to archive a project will be available in Redmine 5.0.0 (#35420).

You will be able to write a script to archive old projects using the API.

Also available in: Atom PDF