I configured the mail hadler and it works fine i am able to create new issues via email but how do i map the fields what should be the format of the email so the values are written to the correct field
example In the email i need
Summary value should be mapped to Summay field
Type value----> to be mapped to the issue type field
State value---> should be mapped to State field
Functional area value --->should be mapped to Functional area
I did not find any documentation on email formats any one can point me to one if its available ?
Also how do i modify an existing issue via email ? what should be the email format and subject line
In Clearquest mail the email has to be written in certain format so the fields values are written to the correct fields
You have not said what email handler you are using.
The default handlers are quite simple - they populate summary from subject, description from the body, and they make some assumptions about reporter, assignee and issue type. That's it, they don't do any more. Your field mappings need something more advanced, so we need to know what handler you might be using before we run off in the wrong direction...
Ok, that's a handler that behaves as I described. It won't try to do any field type processing.
You need to find or write a handler that will look for and process your fields. Every time email is part of a question, the answer is pretty much "JEMH" - https://marketplace.atlassian.com/plugins/com.javahollic.jira.jemh-ui
If you don't want to do that, I'd have another look through the marketplace, and then think about writing a specific handler for your needs.
To follow up, JEMH has the capability to update all standard fields in an issue, this can be done through Directives, which are values supplied in specific format, interpreted by JEMH Field Processors. This will work well if a user wants to update issues by email, or if you have a weform somewhere that ends us as email content (eg Confluence MailFormNg).
Examples for formats would be
If you have a pre-determined email structure, you can use the JEMH Regexp Field Processor, which uses regular expressions to extract values from a structured email body, and map them to fields you define. I have quite a few organisations using this appraoch to integrate 3rd party systems with JIRA. The RegexpFP also uses some unique key specific to the remote system, stored in a custom field, to locate 'current' issues such that repeat emails become comments on the original (open) issue.
Happy to discuss further.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...
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