Scripts for automating work with the API of the Thunderdome Planning Poker service.
You need the following information to run the script:
API_KEY
: API Key for Thunderdome. You can generate it in your profile.GITLAB_TOKEN
: Personal Access Token for GitLab which can be added in your Preferences. You need at least scope api
.Example script usage:
python3 main.py create \
API_KEY \
GITLAB_TOKEN \
--auto-finish \
--join-password 1234 \
--leader-password 5678 \
--teamid abababa-1337-2342-1406-deadbeef \
--allowed-values 0 1 2 3 5 8 13 20 40 100 \? ☕️ \
--issues https://gitlab.example.com/test-orga/thunderdome/-/issues/1 ... \
--milestones https://gitlab.example.com/groups/test-orga/-/milestones/1 ... \
--iterations https://gitlab.example.com/groups/test-orga/-/cadences/12345/iterations/12345 ... \
--epics https://gitlab.example.com/groups/test-orga/-/epics/1 ... \
--projects https://gitlab.example.com/test-orga/thunderdome ...
You need the following information to run the script:
GAME_ID
: ID of the Thunderdome game. Visible in the URL, e.g.https://thunderdome.dev/game/abababa-1337-2342-1406-deadbeef
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Game ID
API_KEY
: API Key for Thunderdome. You can generate it in your profile.GITLAB_TOKEN
: Personal Access Token for GitLab which can be added in your Preferences. You need at least scope api
.Example script usage:
python3 main.py update \
GAME_ID \
API_KEY \
GITLAB_TOKEN \
--issues https://gitlab.example.com/test-orga/thunderdome/-/issues/1 ... \
--milestones https://gitlab.example.com/groups/test-orga/-/milestones/1 ... \
--iterations https://gitlab.example.com/groups/test-orga/-/cadences/12345/iterations/12345 ... \
--epics https://gitlab.example.com/groups/test-orga/-/epics/1 ... \
--projects https://gitlab.example.com/test-orga/thunderdome ...
To transfer story points from a thunderdome planning poker session, follow these steps:
GAME_ID
: ID of the Thunderdome game. Visible in the URL, e.g.https://thunderdome.dev/game/abababa-1337-2342-1406-deadbeef
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Game ID
API_KEY
: API Key for Thunderdome. You can generate it in your profile.GITLAB_TOKEN
: Personal Access Token for GitLab which can be added in your Preferences. You need at least scope api
.
python3 main.py fetch <GAME_ID> <API_KEY> <GITLAB_TOKEN>