Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

 Minimal email

The following defaults can be setup in the configuration file:

  • defaultProject
  • defaultIssueType
  • defaultPriority
  • defaultIssueLinkType

This means the minimum information required is:

  • reporter
  • assignee

IF your from: address on the email directly resolves to a User, it would not even need the reporter set. In my user email addresses do not equate to User id's so I have to introduce some LDAP lookup code, doc'd elsewhere.

IF no project is specified, if enabled the 'automatic' determination of project based on the to: address being interpreted as the Project Key will provide a flexible config.

From root@wb289l.myco.net  Mon Oct  6 18:18:16 2008
Return-Path: <beer@myco.co.uk>
X-Original-To: beer@jira.myco.net
Delivered-To: beer@jira.myco.net
Received: by wb289l.myco.net (Postfix, from userid 0)
	id 96285718C5; Mon,  6 Oct 2008 18:10:29 +0100 (BST)
Subject: test again
To: <beer@jira.myco.net>
X-Mailer: mail (GNU Mailutils 1.1)
Message-Id: <20081006171029.96285718C5@wb289l.myco.net>
Date: Mon,  6 Oct 2008 18:10:29 +0100 (BST)
From: me@myco.co.uk (root)

reporter: me
assignee: admin
 Names rather than ID's

(info) project: field overrides the nonexistant 'beer' project.

From root@wb289l.myco.net  Mon Oct  6 18:18:16 2008
Return-Path: <beer@myco.co.uk>
X-Original-To: beer@jira.myco.net
Delivered-To: beer@jira.myco.net
Received: by wb289l.myco.net (Postfix, from userid 0)
	id 96285718C5; Mon,  6 Oct 2008 18:10:29 +0100 (BST)
Subject: test again
To: <beer@jira.myco.net>
X-Mailer: mail (GNU Mailutils 1.1)
Message-Id: <20081006171029.96285718C5@wb289l.myco.net>
Date: Mon,  6 Oct 2008 18:10:29 +0100 (BST)
From: me@myco.co.uk (root)

project:  Some Project Title
components: A Named Component
reporter: me
assignee: admin
dueDate: 18-Jun-2009
dueDateFormat: dd-MMM-yyyy
priority: critical
issueType: new feature
watchers: admin,me
workEstimate: 12w6d8h30m
labels: testing
linkto: ABC-10/duplicate,to:ABC-11/relates,from:ABC-13/duplicate
fixVersions: 1.3,2.1
affectsVersions: 1.0,1.1,2.0
vote: true

This should just work, due may 18 Jun 2009
 Example using numeric Id's
h4. Example inbound email:
{expand:Click here to see an example inbound email}

From auser@..... Tue Sep 16 15:21:15 2008
Return-Path: <auser@......>
X-Original-To: jira@testjira.domain.myco.net
Delivered-To: jira@testjira.domain.myco.net
Received: from ..... (.... ....)
by .... (Postfix) with ESMTP id 63E1759FF
for <jira@testjira.domain.myco.net>; Tue, 16 Sep 2008 15:21:15 +0100 (BST)
Received: from ..... (....) by .... with Microsoft SMTPSVC(.....);
Tue, 16 Sep 2008 07:21:14 -0700
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: Test issue with reporter
Date: Tue, 16 Sep 2008 15:21:12 +0100
Message-ID: <F49BF8E684BC6C4188DD63513C4CA0705A4187C@....>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Test issue with reporter
Thread-Index: AckYBnijO8olfArwRKawJ5JGdWO1gAAKRGA
From: "Andy" <auser@....>
To: <jira@testjira.domain.myco.net>
X-OriginalArrivalTime: 16 Sep 2008 14:21:14.0416 (UTC) FILETIME=01C91807

issuetype: 12
component: 10411
project: 10193
reporter: joeuser
assignee: mradmin
priority: 6
summary: wow it works
description: optional body content (overrides whatever else is in the mail)
watchers: admin,auser
dueDate: 28-May-2009
dueDateFormat: dd-MMM-yyyy
workEstimate: 12w6d8h30m
labels: testing
linkto: ABC-10/duplicate,to:ABC-11/relates,from:ABC-13/duplicate

 
  • No labels