I would like to send out a email to team lead and PM when ever there is a big assigned to one of the development team members .
I created a post function for the assigned defect work flow .
email template to
which tell that defect is assigned to memeber of your team : asssigneee name
this post function needs to trigger and send email only when the defect is assgigned to member of dev team
How do i achieve this using post function
This can not be achieved by using the post function because it triggers on issue transition and your trigger is based on issue type and assignee which can only be done via Automation Rule.
if you want to do it via the post function then you have to add the specific transition for it and have to validate the assignee and issue type via validator so the transition can only be used as per your condition.
I have added the post function when the defect is assigned.
Any time this transition occurs, I would like the email to go to 3other people in the team besides the assignee.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Garden16_
Can I please ask, how did you manage to get the Send a custom email in Post Function?
I checked in my workflow, and I could not find it from the list of functions...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Garden16_ ,
Now you can trigger a custom event from which you can send email or you can use automation rule to send email, but for automation rule it must have to find on which transition you want to send so for that on this transition you have to update one more field so on that field basis you can send email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is good.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Garden16_ ,
Could you please share the steps to add a post function from ScriptRunner?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
click on the transition and select post function and select the radio button for sending custom email. Click add and add the below for functionality
condition :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. We could have different instance of Jira. We are using Jira Service Management (JSM) Cloud instance. And I don't see any option for sending email under post function tab. This is what is available to me, there no option to send custom email...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.