Skip to content

heinezen/thunderdome-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thunderdome API Scripts

Scripts for automating work with the API of the Thunderdome Planning Poker service.

Basic Usage

Creating Games from GitLab Items

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 ...

Updating Existing Games from GitLab Items

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 ...

Transferring Story Points to GitLab

To transfer story points from a thunderdome planning poker session, follow these steps:

  1. In your Thunderdome game: Set links for all stories.
  2. Get the information required 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.
  1. Run the script:
python3 main.py fetch <GAME_ID> <API_KEY> <GITLAB_TOKEN>

About

Scripts for automating work with the Thunderdome API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages