The JEMH docs suggest this is possible, but I can't get it to work.
I have a profile setup. Emails are getting converted to issues via a JEHM handler, and email replies are getting converted into comments.
However, I can't get the onComment workflow trigger to work.
Here's my profile
image2015-7-16 20:14:22.png
Here's my workflow
image2015-7-16 20:16:16.png
I want the onComment to trigger the Received From AP transition. I've confirmed that status ID of the AP Sent status is in fact 10804.
I've looks at the JEMH audits. Everything looks cool.
image2015-7-16 20:19:28.png
Idears?
Hi Tom,
Dependant on your JIRA version (JIRA 6.3+), have you checked if the 'user' making the comment (default reporter for email users, actual user otherwise) has the TRANSITION_ISSUE permission?
Workflow supporting JEMH is more opaque than it should be, assumption is that the project the issue is in has those transitions and statuses as valid.
To know more about what's going on under the hood you can enable a dedicated log file:
The 'user' in our use case is a non-Jira user so they aren't represented in the permission scheme. If the email is from a Jira user with correct permissions the auto-transition works. Change history shows the transition was executed by the user configured in our jemh Profile-User->Defaults as the "Default reporter user name"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> The 'user' in our use case is a non-Jira user so they aren't represented in the permission scheme. All operations are performed in the context of 'someone', in the case of email users (with no account whatsoever), it is the User > Default Reporter. > If the email is from a Jira user with correct permissions the auto-transition works. OK, so indicates that permissions matter > Change history shows the transition was executed by the user configured in our jemh Profile-User->Defaults as the "Default reporter user name" I'm not clear which transition is being referred here, email user or JIRA account holder, when the Default Reporter is used? If you send a mail 'from' the email address associated with the User > Default Reporter, the transition should work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> I'm not clear which transition is being referred here, email user or JIRA account holder, when the Default Reporter is used? The transition i'm referring to is the workflow transition that I want to be triggered upon receipt of an email 'from' a non-JIRA user. The same user that caused the original issue to be created. Upon creation, the user's email address gets saved to a custom field by JEMH. The JEMH recognizes emails from this user, and correctly associates them with the original issue, but does not seem to trigger workflow transitions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Given JEMH is driving this, another cause is that JEMH updates fields, and 'elects' the event type to fire by default. You can drive JEMH to always fire a ISSUE_COMMENTED event when such a comment is created via your Profile: - Profile > Notifications > On Comment Event Behaviour : alwaysFireComment
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.