It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Send a custom email.

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

It should be 'duedate'

changeItems.any{
    it.field == 'duedate'
}

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Next-gen

Keyboard shortcuts have arrived for next-gen projects!

...ollected feedback from users around the lack of shortcuts, and we’re here to address that: In next-gen projects, I miss the keyboard shortcuts badly. This is particularly true on the Board, but also i...

227 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you