Project

General

Profile

Is there a plugin that exports issues as pdf's and sends them as email?

Added by Joshua Laferriere about 3 years ago

I have a request by my team to match existing functionality and I've been looking.

I know current settings make it possible for users to be notified via email about new issues, but is there a tool that can send an issue as an exported pdf?


Replies (3)

RE: Is there a plugin that exports issues as pdf's and sends them as email? - Added by Joshua Laferriere about 3 years ago

I'm not sure if plugins is the right place for this, or if I should ask in general help.

I read these two tutorials past two days

Possible solution (requires custom plugin/development)
https://www.redmine.org/boards/3/topics/28817

Plugins tutorial (printed and am reading)
https://www.redmine.org/projects/redmine/wiki/plugin_tutorial

Problem seems I can augment text on any part of the page, but not add a button in Issues. Default menu's I can inject a "pdfmailer" into are

top_menu
account_menu
application_menu
project_menu
admin_menu

What I'd like to do is have a button in Issues (maybe for a particular project) that when clicked it sends the issue as a pdf to a set of users [selected from a dropdown, or inputted).

Right now I can get an email sent to the ticket owner with a link. Anyways. Trying to use the instructions from 9 years ago (for the pdf part) do not seem to work.

I'm completely new to ruby but not developing. I was able to do the tutorial just fine, but I'm a bit lost as to even how to add a custom button to issues.

alternatively I'm thinking about using a hook with javascript (html2canvas) as described here
https://stackoverflow.com/questions/28522749/save-web-page-directly-to-pdf-using-js

RE: Is there a plugin that exports issues as pdf's and sends them as email? - Added by Joshua Laferriere about 3 years ago

I think I'm going to fall back on using an alternative menu (rather than the issues screen) and fallback on bash scripting to use the json api to send a text email of the ticket contents

    (1-3/3)