{"id":26678175,"url":"https://github.com/telexintegrations/task-prioritizer","last_synced_at":"2025-08-28T09:11:11.180Z","repository":{"id":278989500,"uuid":"937399187","full_name":"telexintegrations/Task-Prioritizer","owner":"telexintegrations","description":"A custom integration that automatically notifies Telex team members of High priority tasks from jira","archived":false,"fork":false,"pushed_at":"2025-02-26T00:30:43.000Z","size":288,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T05:15:01.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/telexintegrations.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-02-23T00:20:43.000Z","updated_at":"2025-02-26T00:32:24.000Z","dependencies_parsed_at":"2025-02-24T11:37:17.192Z","dependency_job_id":null,"html_url":"https://github.com/telexintegrations/Task-Prioritizer","commit_stats":null,"previous_names":["malachsalama/task-prioritizer","telexintegrations/task-prioritizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/telexintegrations/Task-Prioritizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2FTask-Prioritizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2FTask-Prioritizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2FTask-Prioritizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2FTask-Prioritizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/telexintegrations","download_url":"https://codeload.github.com/telexintegrations/Task-Prioritizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2FTask-Prioritizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272475320,"owners_count":24940718,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-03-26T05:15:09.157Z","updated_at":"2025-08-28T09:11:11.109Z","avatar_url":"https://github.com/telexintegrations.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task Prioritizer Integration\n\n## Overview\n\nTask Prioritizer is a FastAPI-based integration that detects high priority tasks from Jira and notifies telex team members automatically. This helps ensure that high-priority issues get the attention they need.\n\n## Features\n\n- Listens for Jira webhook events (`jira:issue_created`).\n- Extracts task details (issue key, summary, priority, assignee).\n- Filters and processes only high-priority tasks.\n- Sends real-time notifications to a telex channel.\n\n## Setup Instructions\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/malachsalama/Task-Prioritizer.git\ncd Task-Prioritizer\n```\n\n### 2. Install Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n### 3. Set Up Environment Variables\n\nCreate a `.env` file in the project root and define:\n\n```ini\nTELEX_WEBHOOK_URL=https://ping.telex.im/v1/webhooks/01951eae-6cb0-720c-bfd5-0a345fae22fa\n```\n\n### 4. Run the Application\n\nStart the FastAPI server:\n\n```bash\nuvicorn main:app --host 0.0.0.0 --port 8000 --reload\n```\n\n## Testing the Integration\n\n### 1. Manually Trigger a Webhook Event\n\nSend a test request to the webhook endpoint:\n\n```bash\ncurl -X POST \"https://task-prioritizer.onrender.com/api/v1/jira-webhook\" \\\n-H \"Content-Type: application/json\" \\\n-d '{\n  \"webhookEvent\": \"jira:issue_created\",\n  \"issue\": {\n    \"key\": \"TEST-123\",\n    \"fields\": {\n      \"summary\": \"Treat this task urgently!\",\n      \"priority\": {\n        \"name\": \"High\"\n      },\n      \"assignee\": {\n        \"displayName\": \"Malach Salama\"\n      }\n    }\n  }\n}'\n```\n\n### Expected Response\n\n```\n{\n    \"status\": \"success\",\n    \"message\": \"Notification sent to Telex.\"\n}\n```\n\n### 2. Verify Telex Notification\n\n- If successful, a Slack message should appear in the configured channel.\n- If it fails, an error message is sent instead.\n\n## Contributing\n\nFeel free to open an issue or submit a pull request if you have improvements!\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelexintegrations%2Ftask-prioritizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftelexintegrations%2Ftask-prioritizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelexintegrations%2Ftask-prioritizer/lists"}