Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2325

Add email notice for service renewal failures

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      When a service fails to be renewed via cron, we do not send any email notice to staff. Instead, an error is logged in cron, and there may also be a module log from the failed renewal attempt.

      We currently have notices sent for service creation errors, (un)suspension errors, and cancellation errors. A new email template should be added for Renewal Error. This applies to Staff only.

      We will need to dig into it to get specifics on the tags to set for the email, but generally, it should say there was an error with Client #x for Service #y due to error <error message>.

      • The email template should be generated in all languages installed (similar to other migrations for new email templates).
      • Staff should also be able to subscribe to this email template. I think any staff group with the 'Cancellation Error' notice enabled should also have this new Renewal Error enabled. Similar for each staff member in the staff group: they should be auto-subscribed to the Renewal Error if they are currently subscribed to the Cancellation Error.

      Note: Since services can renew on 5 minute intervals, it's possible to be spammed every 5 minutes with a new email about the same service renewal failure.

        Issue Links

          Activity

          tyson Tyson Phillips (Inactive) created issue -
          tyson Tyson Phillips (Inactive) made changes -
          Field Original Value New Value
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Story Points 3
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue relates to CORE-2647 [ CORE-2647 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue duplicates CORE-2647 [ CORE-2647 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue relates to CORE-2647 [ CORE-2647 ]
          Hide
          admin Paul Phillips added a comment -

          We could have an automation task run say every x hours, like 24hrs that has a digest of all service renewal failures in that time period. This way they don't get spammed and get a single email every x hours with all that failed.

          Show
          admin Paul Phillips added a comment - We could have an automation task run say every x hours, like 24hrs that has a digest of all service renewal failures in that time period. This way they don't get spammed and get a single email every x hours with all that failed.
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Fix Version/s 4.9.0-b1 [ 11301 ]
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.9.0 Sprint 5 [ 103 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          jonathan Jonathan Reissmueller made changes -
          Assignee Jonathan Reissmueller [ jonathan ]
          Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
          Status Open [ 1 ] In Progress [ 3 ]
          jonathan Jonathan Reissmueller made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 56 minutes [ 3360 ]
          Worklog Id 13230 [ 13230 ]
          jonathan Jonathan Reissmueller made changes -
          Time Spent 56 minutes [ 3360 ] 1 hour, 44 minutes [ 6240 ]
          Worklog Id 13234 [ 13234 ]
          Automated transition triggered when Jonathan Reissmueller created pull request #801 in Stash -
          Status In Progress [ 3 ] In Review [ 5 ]
          Resolution Fixed [ 1 ]
          Automated transition triggered when Tyson Phillips (Inactive) merged pull request #801 in Stash -
          Status In Review [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              jonathan Jonathan Reissmueller
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Mar/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 44 minutes
                1h 44m

                  Agile