Project

General

Profile

Actions

Patch #4975

closed

Add feature to automatically archive old projects

Added by Aaron Fischer almost 15 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Projects
Target version:
-
Start date:
2010-03-03
Due date:
% Done:

100%

Estimated time:

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.

Files


Related issues

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

Actions
Actions #1

Updated by Jean-Philippe Lang almost 15 years ago

  • Category set to Projects
Actions #2

Updated by Go MAEDA over 6 years ago

Actions #3

Updated by Go MAEDA over 3 years 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.

Actions

Also available in: Atom PDF