helpGna! Administration - Support: sr #3413, Shutdown: access to ticket...

Show feedback again

sr #3413: Shutdown: access to ticket attachments?

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Sat Feb 25 13:30:17 2017  
Category: Savane ToolsPriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: Any / Non-Specific

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed Apr 19 15:53:22 2017, comment #2:

In my projects I used the following oneliner in order to create a file with all links to download, e.g. with wget:

grep -Po "(?<=Added ).*, #[0-9]*(?=</new_value>)" bugs_utf8.xml | sed 's/^/https:\/\/\/file\//' | sed 's/, #/?file_id=/' > bugs_attachments.txt

assuming that bugs_utf8.xml is the exported xml file of the bug tracker for example.

Konstantinos Poulios <logari81>
Sat Apr 1 09:56:14 2017, comment #1:

In the absence of a reply, I have now scraped all ticket attachments (for all projects) in the manner I suggested. The resulting archive yet isn't online anywhere, but I intend to put it somewhere.

Jacob Nevins <jtn>
Sat Feb 25 13:30:17 2017, original submission:

Given the impending shutdown, I'd like to rescue all our data.

I'm already regularly exporting ticket data/history as XML, but that doesn't get me ticket attachments.

Is there any way you could conveniently provide access to ticket attachments for project admins (and maybe anonymous access too)? rsync perhaps? (I don't know if Savane supports private files?)

Otherwise I guess my only option is to scrape a list of file_ids out of our ticket history and grab URLs of the form .

(Thank you for running Gna for all these years.)

Jacob Nevins <jtn>


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by logari81 (Posted a comment)
  • -unavailable- added by jtn (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup