Feature #16207
closed
Use query name as the file name when exporting queries
Added by Martin Seener over 10 years ago.
Updated over 2 years ago.
Description
By now if you export a custom issue query for ex. as a PDF, its named "issues.pdf" which says nothing and is inconvenient to handle. It would be much better to use the custom query name as the filename (whereas spaces are written as underscores). See my attached image as an example we use it would be cool to directly save it as "incidents_of_last_month.pdf".
Just better: Optionally add a date to it "incidents_of_last_month_2014-02-03.pdf".
We use such exports for some partners so this would really make our lifes easier
Files
change including tests attached
- Status changed from New to Resolved
see attached file_naming.diff for the resolving code parts. please merge and close this.
- Status changed from Resolved to New
You need handle non ASCII filename.
See #16207.
Toshi MARUYAMA wrote:
You need handle non ASCII filename.
See #16207.
Sorry, it is #16711.
Added fix to handle non ASCII filenames. The new diff file contains the complete change.
Toshi MARUYAMA wrote:
Toshi MARUYAMA wrote:
You need handle non ASCII filename.
See #16207.
Sorry, it is #16711.
Have you seen the fix?
Mathias Nestler wrote:
Toshi MARUYAMA wrote:
Toshi MARUYAMA wrote:
You need handle non ASCII filename.
See #16207.
Sorry, it is #16711.
Have you seen the fix?
I modified patch file_naming2.diff to apply to the trunk.
This patch renames issues.csv, issues.pdf and timelog.csv to custom field name.
- Target version set to Candidate for next major release
Setting the target version to 5.1.0.
- Category changed from PDF export to Issues
- Subject changed from File naming of exported custom queries to Use query name as the file name when exporting queries
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch. Thank you.
- Status changed from New to Closed
- Related to Defect #38182: Exporting users query does not use the query name as file name added
Also available in: Atom
PDF