Create Issue based on another (Templated Creation)

@since 1.3


You want to create an issue but pre-populated with fields from another.  The body content of the email should be appended to the body content of the issueTemplate.


In the simple case, JEMH supports this through the issueTemplate Directive.  In order for this to happen, Directives > Directive Processing Behaviour should be enabled for Creation at least.

The example below shows an email nominates REG-35 as the template for the issue.

MIME-Version: 1.0 Received: by with HTTP; Sat, 18 Jun 2011 22:42:26 -0700 (PDT) Date: Sun, 19 Jun 2011 17:42:26 +1200 Message-ID: <> Subject: This is a starting email template, update as required From: "Andy Brook" <andy@localhost> To: external.user+test@localhost Content-Type: text/plain; charset=UTF-8 @issueTemplate=REG-35 I made this using the REG-35 template

Issue Template REG-35

Issue created by Template

Issue Template REG-35

Issue created by Template


Its conceivable that template issues may not exist in the same project as 'real' issues, for this reason, Projects/components are not inherited.

Using Aliases

JEMH Aliases allow Directives (including values) to be represented by a user provided alias, this enables a user to define an alias 'support' with a value of 'issueTemplate=REG-35', which is replaced and expanded at processing time, isolating the detail of the template issue from the user.