You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

On this page

Use case

Never miss a thing from a high priority issue by receiving email notifications to remind you of your high priority issues that might have slipped out of your mind.


Issue event

Create a new rule and name it appropriately.

Providing a description will help you to identify what the rule does but this step is optional.

Add a Trigger → Issue Event → Issue Created

Boolean condition

Add the following expression:

%{trigger.issue.priority} = "High"

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 your email

Subject
%{trigger.issue.key} = "is of high priority"

Then a body

Body
Please take care of this issue first. 
Cheers, 
Admin

Enable the rule by clicking on the Enable button → 


Screencast

No screencast available at the moment.


Import the example

Import the JSON file below to get started in no time.

JSON

After importing the JSON file, make sure to check the configuration of the rule. Non-existing configuration elements (issue types, fields, values etc.) will be highlighted.

{
    "name": "Notify for high priority issues",
    "description": "",
    "creator": "admin",
    "status": true,
    "triggerData": "1",
    "triggerType": "ISSUE_EVENT",
    "configuration": {
        "refs": [
            "issue",
            "system",
            "trigger.issue",
            "trigger.parent"
        ],
        "triggerType": "1"
    },
    "children": [
        {
            "sequence": 0,
            "type": "BOOLEAN_CONDITION",
            "ruleEntityType": "CONDITION",
            "configuration": {
                "refs": [
                    "issue",
                    "project",
                    "system",
                    "trigger",
                    "trigger.issue",
                    "trigger.parent"
                ],
                "expression": "%{trigger.issue.priority} = \"High\"",
                "expressionParsingMode": "logical",
                "actingUser": "field_00020"
            },
            "children": null,
            "hasChildren": false
        },
        {
            "sequence": 1,
            "type": "SEND_MAIL",
            "ruleEntityType": "ACTION",
            "configuration": {
                "refs": [
                    "issue",
                    "project",
                    "system",
                    "trigger",
                    "trigger.issue",
                    "trigger.parent"
                ],
                "fromOption": "fromUser",
                "fromUser": "admin",
                "toUsersInField": [
                    "00003"
                ],
                "toUser": [
                    "admin"
                ],
                "subject": "%{trigger.issue.key} = \"is of high priority\"",
                "subjectParsingMode": "textBasic",
                "contentType": "text/html",
                "mailPriority": "3",
                "sendingMode": "common",
                "body": "Please take care of this issue first. \r\nCheers, \r\nAdmin",
                "bodyParsingMode": "textBasic"
            },
            "children": null,
            "hasChildren": false
        }
    ],
    "hasChildren": true
}



If you still have questions, feel free to refer to our support team.