Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

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.




UI Steps

Issue event

UI Step
Excerpt Include
DECADIS:Automation Use Case - Create Rule Step
DECADIS:Automation Use Case - Create Rule Step
nopaneltrue


UI Step

Add a Trigger → Issue Event → Issue Created

Boolean condition

UI Step

Add the following expression:

Code Block
languagebash
linenumberstrue
%{trigger.issue.priority} = "High"


Send email action

UI Step

Next to the Boolean condition click on Add → Action → Send email

UI Steps


UI Step

From:

Select the user that the email will be sent from.


UI Step

To:

Select the recipients.


UI Step

Message:

First, enter a subject for your email

Code Block
languagebash
titleSubject
linenumberstrue
%{trigger.issue.key} = "is of high priority"

Then a body

Code Block
languagebash
titleBody
linenumberstrue
Please take care of this issue first. 
Cheers, 
Admin





UI Step

Excerpt Include
DECADIS:Automation Use Case - Enable Rule
DECADIS:Automation Use Case - Enable Rule
nopaneltrue




Screencast

No screencast available at the moment.


Import the example

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

UI Expand
titleJSON


UI Text Box
typewarning

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.


Code Block
languagejs
themeMidnight
{
    "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
}




Related use cases

Page properties report
headingsAutomated action, Use case description, Complexity
cqllabel = "use-case-auto" and label = "add-comment" and space = "JWTSDC"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Automated actionSend email action
Use case descriptionSend email notification about high priority issues
Label


Complexity

Status
colourGreen
titleBeginner




Page properties
hiddentrue



Status
Tech review

Status
titleto do

Style guide

Status
colourGreen
titledone

Status
titleto do
Status
colourGreen
titledone
Status
colourYellow
titleneeds review
Status
colourRed
titleflagged