Generates burndown charts based on Notion databases.
This goes out to all of us who chose to put our scrum boards on Notion even though it doesn't have proper scrum features... Just because it's *aesthetic*.
- Create a Notion integration.
- Copy down the secret token and store it somewhere safe.
- You should have one database for your product backlog. On top of that, you need to create two other databases:
- Sprint Summary: List of sprints and their information. For the integration to retrieve the latest sprint's information.
- Compulsory fields: Sprint (number), Start (Date), End (Date)
- Daily Summary: How many points are left in the latest sprint every day.
- Compulsory fields: Sprint (number), Date (Date), Points (number)
- Sprint Summary: List of sprints and their information. For the integration to retrieve the latest sprint's information.
- Give your integration access to all 3 databases.
- Clone this project.
- Install dependencies by
npm i
. - Set up the .env file. Reference the .env.example file and replace the values accordingly.
npm start
A burndown chart PNG file should be generated in the project root directory.
You will need to schedule this script to run once every day. To do so, you can reference the example GitHub action on_daily workflow.
Reference this Notion page to see how I set up my three databases.
The configurations for this example are found in .env.template.
See issues.