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
Here's my workflow
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.
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"
> 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?
> 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.
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
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...
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!
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