{"id":20463200,"url":"https://github.com/devwithkrishna/github-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue","last_synced_at":"2026-05-04T10:33:07.205Z","repository":{"id":244785072,"uuid":"797427417","full_name":"devwithkrishna/github-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue","owner":"devwithkrishna","description":"Automatically created jira issues whenever there is a issue detected by CodeQL analysis","archived":false,"fork":false,"pushed_at":"2024-09-18T06:59:11.000Z","size":139,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-05T07:42:01.257Z","etag":null,"topics":["atlassian-python-api","automation","github","github-workflow","jira","poetry","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devwithkrishna.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":"2024-05-07T20:10:43.000Z","updated_at":"2024-09-10T16:04:37.000Z","dependencies_parsed_at":"2024-06-17T12:52:57.232Z","dependency_job_id":"f13f2b2d-136a-4cdd-bca3-5bf95f68e40f","html_url":"https://github.com/devwithkrishna/github-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue","commit_stats":null,"previous_names":["devwithkrishna/github-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/devwithkrishna/github-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fgithub-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fgithub-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fgithub-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fgithub-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devwithkrishna","download_url":"https://codeload.github.com/devwithkrishna/github-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fgithub-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32604134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["atlassian-python-api","automation","github","github-workflow","jira","poetry","python"],"created_at":"2024-11-15T13:09:52.433Z","updated_at":"2026-05-04T10:33:07.172Z","avatar_url":"https://github.com/devwithkrishna.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# automatically-create-github-issuea-when-advanced-scanning-detects-an-issue\nAutomatically created jira issues whenever there is a issue detected by CodeQL analysis\n\n# How the code works\n\n![diagram.jpg](diagram.jpg)\n\n* repo.py --\u003e this will retrieve all the repositories in github organization and pass it to github_scanning.py\n* github_scanning.py --\u003e basically this will retrieve the dependabot alerts from github\n* jira.py --\u003e this file is used for multiple purposes\n    * retrieve all tasks under a epic\n    * create task on epic with summary and description\n\n* common_utils.py --\u003e character limit for description and summary\n    * compare tasks in epic and dependabot alters to make sure no duplicate stories are created\n* date_time.py --\u003e returns the date time\n\n\n# Parameters\n| parameter name | description | required |\n|----------------|--------------|---------|\n| epic_key | jira epic key | :heavy_check_mark: |\n| organization | github organization name | :heavy_check_mark:|\n\n\n# credentials used\n\n`JIRA_PASSWORD`, `JIRA_URL`, `JIRA_USERNAME`, `GH_TOKEN` are used for authentication for `Jira` and `GitHub`\n\n\n**Poetry is used for package management**\n\n## How to run code in local\n\n* clone the repository and `cd github-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue`\n* pass the necessary parameters like `epic_key` and `organization` name\n\n```commandline\npython3 jira.py --epic_key DEVOPS-245 --organization devwithkrishna \n```\n\n# This is a proof of concept only","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwithkrishna%2Fgithub-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevwithkrishna%2Fgithub-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwithkrishna%2Fgithub-automatically-create-jira-issues-when-advanced-scanning-detects-an-issue/lists"}