Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Send a custom email.

Dmitriy Rubtsov January 16, 2014

Hi.

Task: send a custom E-Mail, when Due Date is changed.

Solution: I used the Script Listener. I aded the new listener "Send custom emaill" with settings:

  • Events: Issue Updated
  • Projects: MyProject
  • Condition: changeItems.any {it.get('field')=='Due Date'}
  • Email, subject templates and etc.

But, when I change the Due Date in the ticket I see in logs:

Condition: changeItems.any {

it.get('field') == 'Due Date'

} returned: false

Why???

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Cesare Jacopo Corzani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2015

It should be 'duedate'

changeItems.any{
    it.field == 'duedate'
}
TAGS
AUG Leaders

Atlassian Community Events