Project

General

Profile

Feature #29038

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

Added by Jeremy Lenz over 2 years ago. Updated over 2 years ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
medium
Triaged:
No
Bugzilla link:
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

History

#2 Updated by Jeremy Lenz over 2 years ago

  • Difficulty set to medium

#3 Updated by The Foreman Bot over 2 years ago

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

#4 Updated by Jeremy Lenz over 2 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

Also available in: Atom PDF