Task
Jira Legacy | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
In order to stop sending certain notifications for a course, just set the corresponding course link attribute value(s) to False. Set the value(s) to True to enable the notifications.
NoteNotes:
Check the notification rules of the organization whether the notification is only gauged by the 2 predicates IsCategory and LinkAttributeIsEqualTo. Some organizations have additional predicates for their notification rules and enabling notifications may require more than just updating the attribute values.
Custom Setups for Customers
Blue Water Yachting
Course Link Attributes
Code Block |
---|
addLinkAttribute [coursePath] System.Customer.Notification.SendOn.StudentPassedExam True
addLinkAttribute [coursePath] System.Customer.Notification.SendOn.StudentFailedExam True |
The following notifications can be enabled/disabled per course:
Category: Exam, SubCategory: ExamCompleted
The 2 Exam,ExamCompleted link attributes are set up with 2 notification templates and rules (i.e. Blue Water Yachting).
Notification Rules
Code Block |
---|
AddOrgNotificationRule /Root/BWY IsCategory(Exam,ExamCompleted);AssessmentGradeGreaterOrEqual(60);LinkAttributeIsEqualTo(System.Customer.Notification.SendOn.StudentPassedExam,true) Constant([receiver email address]) Email PassedExam AddOrgNotificationRule /Root/BWY IsCategory(Exam,ExamCompleted);AssessmentGradeLessThan(60);LinkAttributeIsEqualTo(System.Customer.Notification.SendOn.StudentFailedExam,true) Constant([receiver email address]) Email FailedExam |