You can embed any of the following as part of the text value in the "title"
, "subject"
, and "body"
parameters
${content.title}
- inserts the name of the page or blog post${content.link}
- inserts the link of the page or blog post${content.space}
- inserts the name of the space
Example trigger code
Code Block |
---|
"triggers": [ {"event": "on-change-state", "conditions": [ {"state": "Review"} ], "actions": [ {"action": "send-email", "recipients": [ "@creator", "@watchers", "@lastUpdatedBy", "@user_type_parameter_1@", "@user_type_parameter_2@", "@group_type_parameter_1@", "@group_type_parameter_2@", "email_1@email.com", "email_2@email.com", {"user": "user_ID_1"}, {"user": "user_ID_2"}, {"group": "group_ID_1"}, {"group": "group_ID_2"}, {"group": "group_Name_1"}, {"group": "group_Name_2"} ], "notification": {"subject": "${content.title} is In Review State", "title": "${content.title} is In Review State", "body": "Hello, ${content.link} in the ${content.space} space is in review state." } } ] } ] |
Tip |
---|
On-screen notification messages can be created using the |
Workflow trigger-generated email 'failure to send' errors are included in the Confluence log.