hello folks,
which event gets called when the incomming Email Service creates the issue.can we detect that the created issue is created from which email service?
hi sohil..
if you plan to re-invent the wheel just take a look at this tutorial
https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Writing+a+Custom+Message+%28Mail%29+Handler+for+JIRA
The event for these issues is the normal "Issue Create" event. Out of the box, there is no direct way to determine if the issue had been created through mail or from the instance itself. Depending on your needs, you could consider setting the default reporter of mail handler to a specific user through which you can determine the source of the issue.
can we write a custom event which fires on the issue create event from the email service?
i have couple of more question about the same topic. let me ask it one by one in the same thread.
can we detect that the created issue is created from which email service?
you could add specific labels (jemh offers sth like this)
Please Mick put some reply on my comment
Yes let first hands on the above plugin tutorial.
"you could add specific labels (jemh offers sth like this)"
do you mean to detect the text in the email . thats seems to me manually done by each email sender?
in jemh you set up profiles and add several settings to them.
one of them is to add a specific label to the issue that gets created from an assigned email address (to the profile: per-project mapping or globally in the issue section)
one profile can hold several per-project mappings so every emailaddress that is mapped to it can be specified with a different value for the "Lable" field upon issue creation. but this is one giant of a plugin (extensions and configuration possibilities) so it may offers way to much than what you actually need only.
It looks like you're new here. Sign in or register to get started.