Project

General

Profile

Actions

Feature #29038

open

Add ability to generate a report by clicking a link in a notification email

Added by Jeremy Lenz about 4 years ago. Updated about 4 years ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
medium
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

[SAT-E-459]

User stories:
  • The notification should contain the link to render a report with more details, specifically about what systems (hosts) will be affected by that expiration
  • The link needs to have report inputs in the URL query (see RM issue #29037 for details)
~Possible approach 1:~
  • The link should take the user to a page in Foreman (maybe report templates?) and notify via Toast that report generation is started
  • Once the report task is complete, the user should be redirected to it as is currently the case for any other report
~Possible approach 2:~
  • The link should take the user directly to the Report Templates page for the Entitlements report, with inputs filled in
  • The user can decide at this point whether to check the checkbox to get the report via email
  • The user can then click Generate to generate the report as normal
Actions #2

Updated by Jeremy Lenz about 4 years ago

  • Difficulty set to medium
Actions #3

Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Jeremy Lenz
  • Pull request https://github.com/theforeman/foreman/pull/7546 added
Actions #4

Updated by Jeremy Lenz about 4 years ago

  • Description updated (diff)

decided to go with a third approach:

  • The report is generated when the notification email is generated
  • The link to the report is in the text of the email
Actions

Also available in: Atom PDF