On this page
Use case
Send automatically an email to the selected users when a field is updated with the updated information of the field in the body of the email.
Configuration
Create a new rule and name it appropriately.
Providing a description will help you to identify what the rule does.
Issue event
Add a trigger → Issue event → Issue Updated
No further configuration is needed. The automation rule is triggered every time that an issue is updated.
Boolean condition
Add a Condition → Boolean Condition
Expression
Use the following Parser Expression:
lastFieldChangeTime(%{trigger.issue.description})+ 3*{SECOND}>=({system.currentDateTime})
Replace the field code for the issue description with the field code for the field of your choice.
Send email action
Next to the Boolean condition click on Add → Action → Send email
From
Select the user that the email will be sent from.
To
Select the recipients.
Message
First, enter a subject for the email.
The description of %{trigger.issue.key} has been updated.
Then, enter the body of the email in HTML format and set the parsing mode to Mixed.
<p>Updated description: </p> {{{wikiToHTML(%{issue.description})}}}
Create as many Boolean conditions and Send email actions as necessary following the same pattern for other required fields.
Import the example
Import the JSON file below to get started in no time.
If you still have questions, feel free to refer to our support team.