Feature #16207

File naming of exported custom queries

Added by Martin Seener over 5 years ago. Updated 3 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:PDF export
Target version:Candidate for next major release
Resolution:

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

incidents.png (27.6 KB) Martin Seener, 2014-03-03 14:01

file_naming.diff Magnifier (3.66 KB) Mathias Nestler, 2014-04-05 21:00

file_naming2.diff Magnifier (4.56 KB) Mathias Nestler, 2014-05-12 23:18

feature-16207.patch Magnifier (6.5 KB) Mizuki ISHIKAWA, 2019-08-23 08:36

History

#1 Updated by Mathias Nestler over 5 years ago

change including tests attached

#2 Updated by Martin Seener over 5 years ago

  • Status changed from New to Resolved

see attached file_naming.diff for the resolving code parts. please merge and close this.

#3 Updated by Toshi MARUYAMA over 5 years ago

  • Status changed from Resolved to New

You need handle non ASCII filename.
See #16207.

#4 Updated by Toshi MARUYAMA over 5 years ago

Toshi MARUYAMA wrote:

You need handle non ASCII filename.
See #16207.

Sorry, it is #16711.

#5 Updated by Mathias Nestler over 5 years ago

Added fix to handle non ASCII filenames. The new diff file contains the complete change.

#6 Updated by Mathias Nestler over 5 years ago

Toshi MARUYAMA wrote:

Toshi MARUYAMA wrote:

You need handle non ASCII filename.
See #16207.

Sorry, it is #16711.

Have you seen the fix?

#7 Updated by Mathias Nestler about 5 years ago

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?

#8 Updated by Mizuki ISHIKAWA 3 months ago

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.

#9 Updated by Go MAEDA 3 months ago

  • Target version set to Candidate for next major release

Also available in: Atom PDF