Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sending email in post-function by scriptrunner does not accept condition

Linton Tomaz da Silva
January 22, 2021

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'

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
6.9.1
TAGS
AUG Leaders

Atlassian Community Events