Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If DDD-123 happened to be a real issue in the local instance, it would take precedence. You can configure the IssueKey (comment) Regexp field to limit commenting to just the ABC project, the example below shows how multiple projects can be OR’d together to be ‘valid’:

Code Block
\b(ABC-[0-9]+|DEF-[0-9]+)\b
Info

Capture Groups

JEMH’s interprets Regexp capture groups (deffined by opened and closed brackets, i.e. ( ))as the matched value to be used in issue association. This means that Regexps which use capture groups should contain the full Issue Key. For example an email with the subject ABC-123:

b(ABC|DEF)-[0-9]+)\b will return a match of ‘ABC', and not associate the issue

\b(ABC-[0-9]+|DEF-[0-9]+)\b will return a match of ‘ABC-123’ and will associate to the issue

Avoiding Subject Issue Key Mismatches

...