A tool to get LightHouse project data (tickets, comments, milestones) into the format described here for import into GitHub Issues.
You need to create individual JSON files for issues, issue comments, and milestones using v3 of their API
Lighthouse's API can be accessed via this gem from entp.
- Clone the project
Create a config/application.yml file with the following content:
development: lighthouse: token: # token of user with access account: # name of your lighthouse acct - the subdomain of lighthouseapp.com that you use project_id: # id of a project to export
bundle installto install Gem dependencies
- Create directories
lhe/ticketsinside of the
- Run the Rails console:
- Run a class method in the class that you want to export:
Milestone.fetch_all_as_json. This will output all of the given type as JSON files in the format described in the above gist.