Project

General

Profile

capabilities of the built-in "Sending reminder emails" function

Added by Christian Dreyer 2 months ago

Hello,

I am looking for a way to get notified, if some issues have stalled.
For example an issue of a specific tracker has not changed the status since x days.
Or issues of a specific tracker have no open subtasks.

Am I right that these more complex notification are not possible with the built-in function? Sending reminder emails
So I probably need a plugin for that?

Kind regards,
Christian


Replies (2)

RE: capabilities of the built-in "Sending reminder emails" function - Added by Bernhard Rohloff about 2 months ago

Hi Christian,

exactly. These more specific use cases are not possible with the built in reminder. I'm not aware of any plugin for that but perhaps there's something suitable in the plugins section.
Another way would be to send the reminder with a custom program or script which looks for issues of interest by sending requests to the Rest_api.

Greetings,
Bernhard

RE: capabilities of the built-in "Sending reminder emails" function - Added by Ondrej Svejkovsky 23 days ago

Hi Christian, we solved this problem by creating a custom query in Redmine where issues that were not updated for say 10 days appear. Meaning the check is done daily and if some issues meet the criteria, they appear in the query. Then we just connected the query to a Slack channel and we have the desired notifications.

Steps necessary to take:

  1. Created a Custom Query for issues inactive for 10+ days
  2. Automate Query Execution with a Rake Task
  3. Schedule Execution via Cron Job

1. Created a Custom Query

Create a query so you can access it at https://your-redmine.com/issues?query_id=78

2. Automate Query Execution with a Rake Task

Create a custom Rake task e.g. (redmine:stale_issues_notifications), which:

  1. Fetches issues from the saved query
  2. Uses an API user (user_id)
  3. Sends the results to a Slack channel

3. Schedule Execution via Cron Job

Create a cron job that runs at e.g. 9:00 AM, Monday to Friday
Calls /data/www/your-redmine/stale_issues_notifications.sh

This setup now automatically notifies Slack when stale issues are detected. An easy task for any programmer. Do you have one?

Ondrej from https://www.redmine-x.com/

    (1-2/2)