I noticed there is an email handler option in script runner, but don't have any clue how it works, there isn't any clear documentation. Currently, we are using Jira email handler, whenever to receive an email it creates a ticket. We are using the email handler for Nagios alert, so Jira email creates a ticket with each alert. We would like to create a new ticket only if there will be a problem, but once you get a resolve email it should close the ticket and not create a new ticket or if the issue continues it should post an email in the comment of an existing ticket.
I thought script runner might solve the problem but I didn't find the proper user guide, I might don't use the right keyword to search it. Can someone walk me through all process that how to use scriptrunner's email handler option? I really appreciate it.
Hi @Shah Baloch
The Mailhandler that ships with the Scriptrunner app for Jira will process incoming emails and execute a Groovy script. What you put in the script is up to you but you have the option to do some great things. Examples could be:
You can find the documentation for Scriptrunner Mailhandler here.
There is some great examples to get you started.
Thank you for your reply. The documentation is not much clear, maybe it's new for me that's why. I entered the first script mentioned in the documentation, it is saying I don't have any mail, I have emails in my inbox, I don't know why I get that message that shown in the screenshot. Why it is checking the server? I thought it'll pick up the email from the inbox. I appreciate your help.
Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events