{"id":15156013,"url":"https://github.com/drew138/notion-automation","last_synced_at":"2026-01-20T04:32:13.139Z","repository":{"id":252710546,"uuid":"831805681","full_name":"drew138/notion-automation","owner":"drew138","description":"A repository to automate my notion workflows","archived":false,"fork":false,"pushed_at":"2025-02-27T00:59:19.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T01:50:06.774Z","etag":null,"topics":["cloudrun","docker","jira-rest-api","notion-api","notion-database","terraform-modules"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drew138.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-21T17:07:18.000Z","updated_at":"2025-02-27T00:59:22.000Z","dependencies_parsed_at":"2024-08-23T22:43:41.174Z","dependency_job_id":"5064e6e9-fe19-4d89-8f1f-73ebda79eadc","html_url":"https://github.com/drew138/notion-automation","commit_stats":{"total_commits":41,"total_committers":1,"mean_commits":41.0,"dds":0.0,"last_synced_commit":"5c2b7fa768490b3c583ff74102375a4d4080f7ca"},"previous_names":["drew138/notion-automation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drew138%2Fnotion-automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drew138%2Fnotion-automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drew138%2Fnotion-automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drew138%2Fnotion-automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drew138","download_url":"https://codeload.github.com/drew138/notion-automation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247655194,"owners_count":20974141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudrun","docker","jira-rest-api","notion-api","notion-database","terraform-modules"],"created_at":"2024-09-26T19:00:58.922Z","updated_at":"2026-01-20T04:32:13.106Z","avatar_url":"https://github.com/drew138.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notion Automation\n\nThis project is a simple tool that helps to manage my notion finances\nand work pages by automating some tasks regarding\ndatabase entries and data visualization.\n\n## Environment Variables\n\n### Jira Client\n\nCurrently found in the `jira/client/client.py` file.\nIt requires the following environment variables:\n\n- `JIRA_BASE_URL`: base url of the jira workspace.\n- `JIRA_ACCESS_TOKEN`: jira access token used to access the jira api.\n  An api token can be generated in the jira settings.\n  Then it should be passed through the\n  following command to obtain this token: `echo -n \u003cemail\u003e:\u003ctoken\u003e | base64`\n- `JIRA_BOARD_ID`: id of the jira board. Obtainable through the\n  browser url of the board.\n\n### Jira Database\n\nCurrently found in the `jira/database/database.py` file.\nIt requires the following environment variables:\n\n- `JIRA_PROJECT`: Obtainable through the browser url of the project.\n  The url follows the following format\n  `\u003cbase_url\u003e/jira/software/c/projects/\u003cjira_project\u003e/boards/\u003cjira_board_id\u003e`.\n- `JIRA_STORY_POINTS_CUSTOM_FIELD`: Field containing story points.\n  This field can be searched using the following Jira api endpoint\n  `https://mercadolibre.atlassian.net/rest/api/latest/field`.\n- `JIRA_REVIEWER_CUSTOM_FIELD`: Field containing issue reviewer.\n  This field can be searched using the following Jira api endpoint\n  `https://mercadolibre.atlassian.net/rest/api/latest/field`.\n\n### Main\n\nCurrently found in the `main/server/main.py` file.\nIt requires the following environment variables:\n\n- `ROUTE`: name of the task being executed.\n- `PORT`: Default port is 8080.\n\n### Notion Client\n\nCurrently found in the `notion/client/client.py` file.\nIt requires the following environment variables:\n\n- `NOTION_TOKEN`\n\n### Notion Databases\n\nCurrently found in the\n`notion/database/finances/subscriptions.py`,\n`notion/database/finances/transactions.py`,\n`notion/database/work/assigned_issues.py`\nand `notion/database/work/reviewer_issues.py` files.\nThey requires the following environment variables correspondingly:\n\n- `NOTION_SUBSCRIPTIONS_DATABASE_ID`\n- `NOTION_TRANSACTIONS_DATABASE_ID`\n- `NOTION_ASSIGNED_ISSUES_DATABASE_ID`\n- `NOTION_REVIEWER_ISSUES_DATABASE_ID`\n\nAll of the above can be accesed in the page view of the database, using its url.\nthe url follows the following format: `https://www.notion.so/\u003cdatabase_id\u003e?v=\u003cview_id\u003e`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrew138%2Fnotion-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrew138%2Fnotion-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrew138%2Fnotion-automation/lists"}