Jemh query

l September 11, 2013

We need the mail handler to parse (using regular expression) from the subject of the mail (or from the body depending which is easier) and populate the following fields in the JIRA bug issue:

> the field "Summary" with the Title: (red color) the field "External

> Issue Id" with the PRONTO id (green color) the field "Affects Version"

> with the release number (purple color) the field "Severity" with the

> priority (blue color) The priority should map as follows:

> From mail to JIRA

> ----------------------------------

> if B-Major to Major

> if A-Critical to Critical

> if C-Minor to Trivial

> IS it possible through JEMH plugin?IF yes how it can be configured for

> above issue

1 answer

0 votes
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2013

Hi Lynn,

I don't quite follow the exact detail of what you want but on the whole, yes, JEMH can locate content in email subjects and body, map those 'values' to 'keys'. The 'keys' can be all the standard things like priority, components, labels, issueType etc.

To do this you need to use the Regexp Field Processor, see the How To: Use the Regexp Field Processor.

A related feature in this scenario is Aliases (Use Aliases) that allows a translation of one extracted 'value' (eg B-Major) to a local JIRA-compatible replacement (eg Major).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events