Project

General

Profile

Feature #11008

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

Added by Matthew Hildebrand 30 days ago. Updated 14 days ago.

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

0%

Estimated time:

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)

History

#2 Updated by Jim Pingle 29 days ago

  • Status changed from New to Pull Request Review

#3 Updated by Renato Botelho 27 days 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!

#4 Updated by Matthew Hildebrand 27 days 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?

#5 Updated by Renato Botelho 27 days 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

#7 Updated by Renato Botelho 26 days ago

  • Target version deleted (2.5.0)

2.4.5 PR has also been merged. Thanks!

#8 Updated by Azamat Khakimyanov 15 days 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."

#9 Updated by Jim Pingle 14 days 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.

Also available in: Atom PDF