Last active
May 21, 2024 10:47
-
-
Save mrw34/b12531d1a8df25f6c170 to your computer and use it in GitHub Desktop.
Trello JSON to CSV conversion using jq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jq -r '["List", "Card"], ((reduce .lists[] as $list ({}; .[$list.id] = $list.name)) as $lists | .cards[] | select(.closed != true) | [$lists[.idList],.name]) | @csv' <nw3RUeLl.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature request: Include description, and labels?
jq -r '["List", "Card", "Description"], ((reduce .lists[] as $list ({}; .[$list.id] = $list.name)) as $lists | .cards[] | select(.closed != true) | [$lists[.idList],.name,.desc]) | @csv' <nw3RUeLl.json