Project

General

Profile

Email Keywords

Added by Craig Efrein over 13 years ago

Hello,

Several months ago I asked about Email Keywords, which were added in the version 1.0. Some of the keywords work like Assigned To:, but others do not. Here is the list again.

Project: Project Identifier
Tracker: By name
Category: By name
Priority: By name
Status: By name
Assigned To: By name or login
Custom Fields: By name

So far I have only been able to use the Assigned To and Project keywords. The others are just completely ignored. The most important is the Status.

Questions :
1. Update an existing ticket via email with Redmine's email keywords, so far my tests have proven otherwise.
2. Is there something I can do in the Administration part of Redmine to make updating tickets via email using the keywords work correctly ?
3. Can a ticket be reopened via email ?

Thank you in advance for your help,
Craig


Replies (6)

RE: Email Keywords - Added by Felix Schäfer over 13 years ago

How are you calling the rake task for the mail stuff? Have you specified something like allow_override=project so that it can be overridden from the mail instead of being set to whatever is defined on the command line?

As to your questions:

  1. works a charm here. Again, without descriptions of how and with what you tried that, we can't help your.
  2. activate the right parts? If you can create issues per mail, you already have them active though.
  3. probably.

RE: Email Keywords - Added by Craig Efrein over 13 years ago

Hello Felix,

Here is my rake statement, with the confidential stuff removed :

date && \
cd /opt/redmine && \
/usr/local/bin/rake redmine:email:receive_imap RAILS_ENV="production" \
host=somepopserver \
port=143 \
ssl=0 \
folder=INBOX \
username= \
password="somepassword" \
project=someproject \
tracker=Assistance \
priority=Normal \
allow_override=project,tracker,priority,category,status

So what we are hoping for is, that if a ticket is closed, and we receive an email update for that ticket, the ticket will be reopened and the status will change to another status.

Thank you,
Craig

RE: Email Keywords - Added by Felix Schäfer over 13 years ago

Craig Efrein wrote:

So what we are hoping for is, that if a ticket is closed, and we receive an email update for that ticket, the ticket will be reopened and the status will change to another status.

Everything looks right, but you'd have to put Status: Some open status in your mail to redmine for redmine to reopen the ticket, it won't reopen the ticket just because you sent a mail there.

RE: Email Keywords - Added by Craig Efrein over 13 years ago

Hello again,

We have tried several tests with the key word Status: Nouveau and the emails are simply ignored by Redmine.

When using Status:, I should be using the status's defined in our redmine correct? In our case we use Nouveau for New and En_Cours for Open. Should we use our own translation or their English equivalents?

Thank you in advance.

Did I mention we are using Redmine v1.0.1?

RE: Email Keywords - Added by Felix Schäfer over 13 years ago

Craig Efrein wrote:

We have tried several tests with the key word Status: Nouveau and the emails are simply ignored by Redmine.

Do the users generating the emails have the permission to go to this status? Ignored mails are mostly caused by permission issues, if redmine doesn't recognize a keyword, it just stays in the description/note of the issue.

When using Status:, I should be using the status's defined in our redmine correct? In our case we use Nouveau for New and En_Cours for Open. Should we use our own translation or their English equivalents?

Use the names defined in your redmine.

RE: Email Keywords - Added by Craig Efrein over 13 years ago

Thank you very much, the user that was linked to the email address in Redmine was set up as a reporter. Once I changed him to technician, I was able to reopen tickets.

    (1-6/6)