Hi there,
I'm facing a problem using plugin 'Email this Issue'.
I configured correctly the plugin to create issues from received emails, fill a custom field and set a custom summary.
Now i want to be able to process a transition (or just comment) on an existing issue when an email is received.
I set up a specific issue lookup field context, with a regexp specific to the email i want, and i also added an order of 1 for the issue lookup context, and 2,3 for new issues field contexts.
Test shows that the issue lookup regexp matches my test email.
But when i send an actual email containing the data that should match an existing issue (custom field value), the issue is not edited, and a new one is created. I know it does not use the new issue field context, because the summary is not customized as it is for mails intended to create issues, but a new issue is created anyway.
The custom field value it looks up is unique, so it should not be an ambiguous search result.
I'd like some help about this, please.
Got the answer from the email author. The user matching the sender of the email (from) must be a JIRA user with the Browse Project rights on the target projects for the JQL query to find the issue.
Mario here are the screenshots.
I removed the project name, but in my configuration, the project is configured.
Field contexts :
field-contexts.png
Mail handler contexts :
mail-handler-contexts.png
New issue - summary rule :
new-issue-summary-rule.png
New issue - custom fied rule :
new-issue-custom-field-rule.png
Issue lookup rule :
issue-lookup-rule.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mario,
I have field contexts in both initialization rules and issue lookup rules.
regexp for issue lookup is a little different than the initialization rule regexp.
I tried with one mail handler and two mail handlers, with no luck.
I made sure that the Override issue lookup rule is checked. In the log, i have first an issue key not found message, then a Lookup issue using JQL, matching the rule i defined.
Now it's becoming even worse. I have two mail handlers, one with no issue lookup override, and another with the override issue lookup. I see logs from jeti, but now it does not even create an issue anymore. No error is logged, just nothing is done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please provide a screenshot of your mail handler configurations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frédéric,
in which section are the rules defined?
Field Initialization Rules or Issue Lookup Rules? Further please double check if Override Issue Lookup is checked in your mail handler context.
Documentation Links:
http://www.meta-inf.hu/wiki/display/PLUG/Field+Contexts or here http://www.meta-inf.hu/wiki/display/PLUG/Mail+Handler+and+Auto-reply+emails for mail handler context.
If all seems to be configured right, you can raise an issue for the plugin developer, Tibor, here:
https://metainf.atlassian.net/secure/Dashboard.jspa
Cheers,
Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I configured debug for the plugin, and here is what i see :
Email This Issue [plugin.emailissue.handler.CreateOrCommentWithRegexpHandler] Issue Key not found in subject
So it seems that the field context that should override JIRA issue lookup mechanism is not used. It searches for the JIRA issue key in the mail subject (i tried adding the issue key to my email subject and it worked, but this is not what i want).
Any idea why the default JIRA issue lookup is not overriden by my field context ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.