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 .
I want the condition where the defect type is Bug and the status is assigned defect issue.issueType.name == 'Bug' & issue.status=='Assigned Defect'
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