JEMH Trying to get regex to match multiple values and fill them in the field.

I'm trying to figure out how to make the regexp in JEMH match multiple values for a field.

So the field will select how ever many options are chosen in that email.

I've tried a few configs with multiple regexp expressions (only the last one gets it's value entered)

I've used the (Charger - AC|Charger - Car): True which doesn't give me any value despite getting a match on both values.

(Charger - AC): True,(Charger - Car): True and (Charger - AC,Charger - Car): True just gives me a does not match.


the text it's checking against is:

Type of Device\t Type of Request\t Accessories\n
 Aircard: False\t New Activation: False\t Charger - AC: True\n
 Cell Phone: False\t Replacement Device: True\t Charger - Car: True\n
 Blackberry: False\t \t Case for device: True\n


The supported fields page says use a comma, but I can't see any thing suggesting how the comma is used.  Or it simply won't do what I'm after.



1 answer

Hi Jason,

Regexps are split on comma characters, so you can't use a literal comma in a regexp but you can use \x2c instead (wiki)

JEMH Regexp Field Processor has a field for determining matches, (match one or match many), values matching a given expression are then set against the target field, eg CSV results in a split on the comma generating many values, which could then populate a select custom field.

Its probably easier if you're having problems to log a support ticket, with your Profile XML and an example email, exported from JEMH auditing so that it can be reproduced.  Lay out what you want as final field values...

ends up this was related to the Capture Group correctly pulling out values, but the Aliases that those values were supposed to match on to 'translate' to JIRA options, were not right, included text not captured, hence no Alias match, and no set option.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Jira

Updates to give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

778 views 1 17
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you