I created a new issue type "Email" and set up the mail handler. When a customers report an issue via email, it'll create a ticket using the "Email" issue type. Since reporters have accounts and they get emails from Jira about issue creation. I would like to have customized email notification. for example:
Thank you for reporting the issue, your ticket number is XYZ-250. We'll get back to you as soon as possible".
How can I make it work just for one issue type. That service desk has other issue types, we just want to use a different issue type for emails for tracking purposes.
Unfortunately there's no simple way with out of the box functionality to change how email works. It's either on or off.
If you have other marketplace apps, then you may be in luck. Firstly, there are dedicated email apps which are fairly easy to use - Email This Issue, Jira Enterprise Mail Handler, are the two biggest ones. They allow you to tailor emails however you like as that's their primary purpose.
If you don't have a dedicate mail app, many instances have ScriptRunner (or any scripting tool) or Automation for Jira for other purposes. These tools can be set up to respond to events, such as issue creation of a particular issue type, to send a customised email.
Hope that helps,
Hi @Shah Baloch
using Script Runner I would suggest you edit the existing workflow, there especially the "Create" transition and put a new post function "Send a custom email" in it.
Under "Condition and Configuration" can you narrow it down to a specific issue type.
After that you need to type in something for the "Email" and "Subject" template - basically the info you want the reporter to get back after they create an issue.
"Request $issue.issueType.name $issue.key created with success."
"Request $issue created"
Be sure to select "Reporter" in "To issue fields".
All other settings according to your requirements if any.
When saved and the workflow was published your Reporter will get an email when raising a request of defined issue type according to the settings in post function.
If I understand you right and assuming this is a Jira Service Management project you would have to adjust the Customer Notifications:
However, this would affect all Issue Types.
For a Jira Software/Core project you would have to inspect the Notification Scheme:
The content of the email sent through post function in workflow can be adapted and adjusted according to your needs. Directly on the configuration page you can see an example for some variables you can use there.
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
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