Note that there are some explanatory texts on larger screens.

plurals
  1. PORecover Redmine data from production log
    primarykey
    data
    text
    <p>I had a project in Redmine with more than 600 issues. I moved all the issues to a different project. I had no idea that the move deletes all the data for the custom fields!</p> <p>So all the custom field values are now lost. I did not backup the database before this action as I really did not think that I was going to do any harm by moving issues as moving is a native function in the UI.</p> <p>What I noticed is though that the production.log contains events for all creation and updates. All my 600 issues are in order in the production log. How can I use these log statements to repeat the actions? If I can import all the log actions, I can migrate the custom fields that it writes to the original Redmine instance and restore my values.</p> <p>Entries look like this:</p> <pre><code>Processing IssuesController#update (for XX.XX.XX.X at 2013-02-07 11:19:54) [PUT] Parameters: {"_method"=&gt;"put", "authenticity_token"=&gt;"nWNSSRYjHhN0BGb+Ya8M4pYWPPgsfdM=", "issue"=&gt;{"assigned_to_id"=&gt;"", "custom_field_values"=&gt;{"10"=&gt;"", "5"=&gt;"Not translated", "1"=&gt;"fi", "8"=&gt;"http://screencast.com/t/ODknR8K", "9"=&gt;"", "3"=&gt;"", "4"=&gt;""}, "done_ratio"=&gt;"0", "due_date"=&gt;"", "priority_id"=&gt;"4", "estimated_hours"=&gt;"", "start_date"=&gt;"2013-02-07", "subject"=&gt;"1\tInstallation in English", "tracker_id"=&gt;"1", "lock_version"=&gt;"0", "description"=&gt;"Steps:\r\nOpen Nitro\r\n\r\nProblem:\r\nNot localized"}, "controller"=&gt;"issues", "time_entry"=&gt;{"hours"=&gt;"", "activity_id"=&gt;"", "comments"=&gt;""}, "attachments"=&gt;{"1"=&gt;{"description"=&gt;""}}, "id"=&gt;"3876", "action"=&gt;"update", "commit"=&gt;"Submit", "notes"=&gt;""} </code></pre> <p>I am really hoping that there is a way, any help will be greatly appreciated</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload