Versions Compared

Key

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

Task

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId23f523ea-1678-3ca2-a1e8-2de53fd3b74a
keySUCO-598
https://marinels.atlassian.net/browse/SUCO-598 adds course link attributes which are used for notification rules to enable/disable certain notifications on a per course level. In order for the notification rules to work we would need to add below link attributes to ALL courses of an organization. Unfortunately, there is no automatic mechanism which would do that so we need to add the 4 course link attributes manually whenever a course is created.

...

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