Project

General

Profile

Actions

Feature #27070

closed

Allow setting "Parent issue" attribute in emails

Added by Brandon Tarney over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Email receiving
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

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

Files

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

Related issues

Related to Redmine - Feature #19732: create subtask from mailClosed

Actions
Actions #1

Updated by Toshi MARUYAMA over 6 years ago

  • Category set to Email receiving
Actions #2

Updated by Toshi MARUYAMA over 6 years ago

  • Description updated (diff)
Actions #3

Updated by Mischa The Evil over 6 years ago

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

Actions #4

Updated by Go MAEDA over 6 years 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.

Actions #5

Updated by Go MAEDA over 6 years ago

Actions #6

Updated by Go MAEDA over 6 years ago

  • Assignee deleted (Go MAEDA)
Actions #7

Updated by Mizuki ISHIKAWA about 6 years 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: 親チケット
Actions #8

Updated by Go MAEDA about 6 years 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.

Actions #9

Updated by Go MAEDA about 6 years ago

  • Subject changed from Set 'Parent task' attribute via email issue creation to Allow setting "Parent issue" attribute in emails
  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version changed from 4.1.0 to 4.0.0
  • Resolution set to Fixed

Committed. You can set parent issue in incoming emails by using "Parent issue" or other language dependent keywords (e.g. "Parent task", "Tâche parente", "親チケット", etc).

Thank you for your contribution.

Actions

Also available in: Atom PDF