Skip to content

Instantly share code, notes, and snippets.

@helmo
helmo / taiga-export.php
Last active April 2, 2024 19:23
Convert Taiga json export to HTML and CSV
#!/usr/bin/env php
<?php
/**
* Taiga export processor - Covert json to csv.
*
* For each project you have to go to Settings -> Export and request an export in the Taiga web interface.
* Once you have the exported json-file this script can convert it to a simplified version.
*
* Usage: taiga-export.php <input json filename> <output csv filename>

This is an adaptation of https://twitter.com/jasonneylon script.

In the terminal window, you can open your current repo (at the current branch) in your default browser.

My adaptation was adding options to view the commits, branches, pull requests or issues for the repo using one of the additional options (added support for wiki, settings, pulse, graphs, network):

[h]           => View help
[c]           => View commits
[c {SHA}]     => View specific commit from commit SHA
[b]           => View branches