📜 ⬆️ ⬇️

Simple but useful plugin for Redmine

We continue to improve the life of the system administrator on our own .

It often happens that the list of active tasks in Redmine is quite huge. However, among them there are a lot of those that cannot be executed at the moment: either we are waiting for the client’s response, or it can only be done on the agreed date and the like.

On the one hand, such tasks can be transferred to the “Frozen” status, for example. They will stop littering the list of current tasks, on the one hand. On the other hand, there is a risk of forgetting about them. In order to prevent this, the redmine_issue_open_date plugin was created.

Installation and configuration.


Clone the plugin from the repository to the folder with the plugins:
')
git clone https://github.com/centosadmin/redmine_issue_open_date /opt/redmine/plugins 

Then we perform the migration:

 bundle exec rake redmine:plugins:migrate 

And add the task to the cron:

 bundle exec whenever -i redmine_issue_open_date -f plugins/redmine_issue_open_date/config/schedule.rb 

If we want to disable the execution of the task, execute the command:

 bundle exec whenever -c redmine_issue_open_date -f plugins/redmine_issue_open_date/config/schedule.rb 

In the settings of the plugin, you can determine which status determines which task is “Frozen” and which is “Open”.

image

After installing the plug-in, we have in the parameters section when updating the task, if you change the status to the one that corresponds to “Frozen”, the “Re-open” field appears with the option to select a date.

image

How it works.


It's simple. At 00:01 of the current day will be executed:

 rake issue_open_date:switch 

At the same time, there is a selection of all tasks with the status corresponding to “Frozen”, the opening date of which is set for the current day.

For each task that is suitable for the criterion, a status corresponding to “Open” will be set.

And the notification of the performer or team leader about an open task is performed by another plugin described in the previous article.

Thanks for attention!

Source: https://habr.com/ru/post/272623/


All Articles