Project

General

Profile

emailing an issue - tracker

Added by Landon Cox over 15 years ago

I've been trying to get the feature of emailing an issue to work as I hoped.

Current problems I'm having are:
1) regardless of what --tracker I add to the command line of rdm-mailhandler.rb it seems to be ignored and always comes in through the 'Bug' tracker. I've added a new type of tracker and specified that on the --tracker option and it never gets set. It does go into the only project I have in Redmine
2) Same problem occurs with --category ... no matter what category I set on the command line it defaults
3) I've specified --allow-override tracker,priority,category,project and regardless, the mail body I have doesn't override the defaults (or the cli options.)

In general, the feature seems to barely work - that is, I'm getting a new issue entered, but most of the options I wanted to be able to control by email are not being obeyed by command line or mail body.

The string I'm piping to the rdm-mailhandler stdin looks like this:

From:
Subject: alert 1234

Project: myalerts
Category: alert
Tracker: alert

Where I've made a category and tracker called alert to see if I could properly specify them. Is my mail body incorrectly formatted? Based on the documentation at http://www.redmine.org/wiki/redmine/RedmineReceivingEmails I believe it is correct.

There must be something simple I'm missing in order to get more of this working. Anything obvious from this description?


Replies (1)

RE: emailing an issue - tracker - Added by Landon Cox over 15 years ago

I answered one question myself just now...

After adding a new tracker, I needed to go to Administration->Projects->Select myalerts project then in the Information tab I needed to check the new alert tracker to enable it for that project. Once I did that the --tracker option worked as expected.

Suspect there are other enablers I need to find in order to get it all hooked up.

    (1-1/1)