{"id":20463202,"url":"https://github.com/devwithkrishna/programatically-create-jira-issues-from-github","last_synced_at":"2025-03-05T11:50:22.937Z","repository":{"id":244552792,"uuid":"797421902","full_name":"devwithkrishna/programatically-create-jira-issues-from-github","owner":"devwithkrishna","description":"Create jira issues like stories epic sub tasks etc from GitHub ","archived":false,"fork":false,"pushed_at":"2025-01-30T16:42:49.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-30T17:34:57.565Z","etag":null,"topics":["atlassian","atlassian-python-api","dependabot","github-workflow","jira","poetry","python3"],"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/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-07T19:53:44.000Z","updated_at":"2025-01-30T16:42:45.000Z","dependencies_parsed_at":"2024-06-15T15:48:07.005Z","dependency_job_id":"81bc0a2d-2a56-4ef0-9702-4f52c9aebcb9","html_url":"https://github.com/devwithkrishna/programatically-create-jira-issues-from-github","commit_stats":null,"previous_names":["devwithkrishna/programatically-create-jira-issues-from-github"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fprogramatically-create-jira-issues-from-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fprogramatically-create-jira-issues-from-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fprogramatically-create-jira-issues-from-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fprogramatically-create-jira-issues-from-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devwithkrishna","download_url":"https://codeload.github.com/devwithkrishna/programatically-create-jira-issues-from-github/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242023192,"owners_count":20059297,"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":["atlassian","atlassian-python-api","dependabot","github-workflow","jira","poetry","python3"],"created_at":"2024-11-15T13:09:53.445Z","updated_at":"2025-03-05T11:50:22.905Z","avatar_url":"https://github.com/devwithkrishna.png","language":"Python","readme":"# programatically-create-jira-issues-from-githu\nProgramatically create jira issues from Github \n\n# What code does\n\n* The code leverages `atlassian-python-api`sdk along with python to create jira issues like `Task (Story)`, `Sub Task`, `Epic`\n\n# Parameters required for program\n\n| Argument | Description                                       | Mandatory or not |\n| ---------|---------------------------------------------------|------------------|\n| type_of_issue | Type of issue like Epic, sub task or story (Task) | ✅ |\n| jira_board | In which Jira board you want to create issues     | ✅ |\n| epic_key | Epic id if story needs to be attached             | ❌ |\n| summary | Issue summary                                     | ✅ |\n| description | Issue description                                 | ✅ |\n| story_key | Jira story key to attach sub task                 | ❌ |\n\n## Installation (How to use it locally)\n\n1. Clone the repository:\n\n    ```bash\n    git clone \u003crepository-url\u003e\n    cd \u003crepository-directory\u003e\n    ```\n\n2. Install the required Python packages:\n\n   * If poetry is not installed locally, do `pip install poetry`  \n   \n   then, \n      ```bash\n      poetry install\n      ```\n      \n   have a look here - https://python-poetry.org/ \n\n3. Create a `.env` file in the root directory and add your Jira credentials:\n\n    ```plaintext\n    JIRA_URL=\u003cyour-jira-url\u003e\n    JIRA_USERNAME=\u003cyour-jira-username\u003e\n    JIRA_PASSWORD=\u003cyour-jira-password\u003e\n    ```\n   ##### **_Ensure that your Jira credentials are correctly set in the .env file._**   \n\n\n## Usage\n\nTo run the script, use the following command:\n\n```bash\npython \u003cscript_name\u003e.py --type_of_issue \u003cissue_type\u003e --jira_board \u003cboard_key\u003e --summary \u003cissue_summary\u003e --description \u003cissue_description\u003e [--epic_key \u003cepic_key\u003e] [--story_key \u003cstory_key\u003e]\n```\n\n## Example Commands\n   Create an Epic:\n\n```bash\npython create_jira_issue.py --type_of_issue Epic --jira_board BOARD_KEY --summary \"Epic Summary\" --description \"Epic Description\"\n```\n\n   Create a Task under an Epic:\n\n```bash\npython create_jira_issue.py --type_of_issue Task --jira_board BOARD_KEY --epic_key EPIC_KEY --summary \"Task Summary\" --description \"Task Description\"\n```\n\n   Create a Subtask under a Task:\n\n```bash\npython create_jira_issue.py --type_of_issue Subtask --jira_board BOARD_KEY --story_key STORY_KEY --summary \"Subtask Summary\" --description \"Subtask Description\"\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwithkrishna%2Fprogramatically-create-jira-issues-from-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevwithkrishna%2Fprogramatically-create-jira-issues-from-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwithkrishna%2Fprogramatically-create-jira-issues-from-github/lists"}