Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,978
Community Members
 
Community Events
168
Community Groups

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 Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

214 views 1 6
Read article

Atlassian Community Events