Project

General

Profile

Actions

Feature #11008

closed

Add option to mail report pkg to skip sending email if no output

Added by Matthew Hildebrand over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Mail report
Target version:
-
Start date:
10/26/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:

Description

Provide an option to skip sending the scheduled email if there is no command output or log content generated by the report. This should be configurable at the report level (status_mail_report_edit.php) and should be indicated on the email reports summary table (status_mail_report.php)

Actions #2

Updated by Jim Pingle over 3 years ago

  • Status changed from New to Pull Request Review
Actions #3

Updated by Renato Botelho over 3 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee changed from Matthew Hildebrand to Renato Botelho
  • Target version set to 2.5.0

PR has been merged. Thanks!

Actions #4

Updated by Matthew Hildebrand over 3 years ago

Will this be automagically cherry-picked to RELENG_2_4_5 branch (for mailreport package version 3.5.x), or do I need to do a separate ticket / PR for that branch?

Actions #5

Updated by Renato Botelho over 3 years ago

Matthew Hildebrand wrote:

Will this be automagically cherry-picked to RELENG_2_4_5 branch (for mailreport package version 3.5.x), or do I need to do a separate ticket / PR for that branch?

No, it will not happen automatically. Please submit a separate PR for RELENG_2_4_5 branch

Actions #7

Updated by Renato Botelho over 3 years ago

  • Target version deleted (2.5.0)

2.4.5 PR has also been merged. Thanks!

Actions #8

Updated by Azamat Khakimyanov over 3 years ago

  • Status changed from Feedback to Resolved

Tested on 2.4.5_p1 and on 2.5.0-DEVELOPMENT (built on Wed Nov 11 01:06:53 EST 2020)

There is an option 'Skip If No Content' now.

This feature request can be marked resolved.

Note: There is a typo on 2.4.5_p1 - description for this new option is "If checked, no email will only be sent if there is output from the commands or content in the log files."

Actions #9

Updated by Jim Pingle over 3 years ago

The text is correct in the package. When the box is checked, it only sends the e-mail if there is output. Adding the "no" there would make it incorrect.

Actions

Also available in: Atom PDF