How can I catch emails sent to Jira and then create or update issues from that email?
ScriptRunner comes with a custom mail handler feature that lets you run a script when you receive an email into your Jira servers inbound mail server. You can use theMail Handlerfeature to trigger when an email comes from specified email addresses using theCatch Emailfield or have it run the script for all emails received.
This feature is very powerful as you can use the script to perform many actions, including creating an issue based on data within a received email. Please see the guide exampleherefor more information, and you can also refer to our Adaptavist Script Library for further examples of Mail Handler scriptshere.