Configured sending of e-mail in post-function configured the condition for sending the scriptrunner did not accept and send the e-mail for all issues even the condition without errors.
In the three tests the email was sent skipping the condition as if it did not exist.
First test - issue.reporter == 'Cybersecurity.telefonica'
Second test - issue.reporter? .name == 'Cybersecurity.telefonica'
Third test - cfValues ['Grupo Solucionador'] == 'SegurancaInformacao_BM'
I need an email to be sent when
issue.report = 'Cybersecurity.telefonica' and Grupo Solucionador = 'SegurancaInformacao_BM'