Feature #27070

Set 'Parent task' attribute via email issue creation

Added by Brandon Tarney 7 months ago. Updated 9 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email receiving
Target version:4.1.0
Resolution:

Description

Feature: Set the "Parent task" of an issue generated via email to redmine.

Context: I am able to set project, tracker, priority, status, element, and estimated time fields but not "Parent task" by using colon-separated fields in the body of the email. I am able to set "Parent task" manually on-creation of a redmine issue or when editing an issue, so I know this functionality works in my current redmine setup.

i.e. I send the following email-body to redmine, and it properly sets all fields except "Parent task"

Description: Trying to set parent task as part of this email-generated redmine ticket
Project: test-project
Tracker: Task
Priority: 3 - Normal
Status: New
Parent Task: 10871
Element: Data Management
Estimated time: 9
Parent task: 10871
Parent Task: 10871
parent: 10871
Parent: 10871
Parent_Task: 10871
Parent_task: 10871
Parent_Id: 10871
Parent Id: 10871
Parent_id: 10871
Parent id: 10871

add_parent_issue.patch Magnifier (3.16 KB) Mizuki ISHIKAWA, 2018-04-11 06:09


Related issues

Related to Redmine - Feature #19732: create subtask from mail New

History

#1 Updated by Toshi MARUYAMA 7 months ago

  • Category set to Email receiving

#2 Updated by Toshi MARUYAMA 7 months ago

  • Description updated (diff)

#3 Updated by Mischa The Evil 7 months ago

FTR & FWIW: this request arose from Set 'Parent task' attribute via email issue creation (and indirectly from Incoming email - Parent Issue).

#4 Updated by Go MAEDA 7 months ago

  • Assignee set to Go MAEDA
  • Target version set to Candidate for next major release

I think this feature should have been implemented along with #443.

#5 Updated by Go MAEDA 7 months ago

#6 Updated by Go MAEDA 7 months ago

  • Assignee deleted (Go MAEDA)

#7 Updated by Mizuki ISHIKAWA 10 days ago

I wrote a patch to set the "parent task" attribute by email.

example:

parent issue: 1(id of parent issue)

You can also use the following key.
  • parent issue
  • Parent issue
  • parent_issue
  • String set in "field_parent_issue" in the language you are using.
    • In the case of en: Parent task
    • In the case of fr: Tâche parente
    • In the case of ja: 親チケット

#8 Updated by Go MAEDA 9 days ago

  • Target version changed from Candidate for next major release to 4.1.0

Mizuki ISHIKAWA wrote:

I wrote a patch to set the "parent task" attribute by email.

LGTM, setting target version to 4.1.0.

Also available in: Atom PDF