{"id":19640143,"url":"https://github.com/gearplug/jira-python","last_synced_at":"2025-04-28T11:31:03.411Z","repository":{"id":62572477,"uuid":"112760541","full_name":"GearPlug/jira-python","owner":"GearPlug","description":"Jira Software wrapper written in python","archived":false,"fork":false,"pushed_at":"2023-03-28T13:49:53.000Z","size":28,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T12:21:50.767Z","etag":null,"topics":["api","authentication","basic","jira","library","notifications","python","software","subscription","webhook","wrapper"],"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/GearPlug.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":"2017-12-01T16:17:24.000Z","updated_at":"2024-07-29T15:45:54.000Z","dependencies_parsed_at":"2024-06-18T21:24:17.784Z","dependency_job_id":null,"html_url":"https://github.com/GearPlug/jira-python","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.16666666666666663","last_synced_commit":"71526cfce27bab43d4747261ddb8d2b40921aaef"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fjira-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fjira-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fjira-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fjira-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GearPlug","download_url":"https://codeload.github.com/GearPlug/jira-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251304784,"owners_count":21567936,"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":["api","authentication","basic","jira","library","notifications","python","software","subscription","webhook","wrapper"],"created_at":"2024-11-11T14:04:48.160Z","updated_at":"2025-04-28T11:31:02.693Z","avatar_url":"https://github.com/GearPlug.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jira-python\n\njira-python is an API wrapper for Jira Software written in Python.\n\nThis library uses API version 2 and Basic Authentication for requests.\n\nIf you are looking for Jira Software Cloud using OAuth 2.0 (3LO) and the latest API version: https://github.com/ingmferrer/jira-cloud-python\n\n## Installing\n```\npip install jira-python\n```\n\n## Usage\n```\nfrom jira.client import Client\n\nclient = Client('HOST', 'USER', 'PASSWORD') # Host must have trailing slash\n```\n\nGet user permissions\n```\nresponse = client.get_permissions()\n```\n\nGet all projects\n```\nresponse = client.get_all_projects()\n```\n\nGet an issue\n```\nresponse = client.get_issue('ISSUE_ID)\n```\n\nCreate an issue\n```\ndata = {'fields':\n             {'description': 'Issue description',\n              'reporter': {'name': 'ingmferrer'},\n              'assignee': {'name': 'ingmferrer'},\n              'project': {'id': '10400'},\n              'issuetype': {'id': '10002'},\n              'summary': 'Issue summary'}}\n\nresponse = client.create_issue(data)\n```\n\nDelete an issue\n```\nresponse = client.delete_issue('ISSUE_ID')\n```\n\nGet metadata for issues\n```\nresponse = client.get_create_issue_meta()\n```\n\nGet metadata for issues\n```\nresponse = client.get_create_issue_meta()\n```\n\n\n### Webhooks\nGet a webhook\n```\nresponse = client.get_webhook('WEBHOOK_ID')\n```\n\nGet all webhooks\n```\nresponse = client.get_all_webhooks()\n```\n\nGet all webhooks\n```\ndata = {\n    \"name\": \"Webhook\",\n    \"url\": \"https://mywebsite.com/notification_url/\",\n    \"events\": [\n        \"jira:issue_created\"\n    ],\n    \"jqlFilter\": \"Project = KEY\", #Change KEY to your project key. Project key != project id\n    \"excludeIssueDetails\": False\n}\nresponse = client.create_webhook(data)\n```\n\nDelete a webhook\n```\nresponse = client.delete_webhook()\n```\n\n## Contributing\nWe are always grateful for any kind of contribution including but not limited to bug reports, code enhancements, bug fixes, and even functionality suggestions.\n#### You can report any bug you find or suggest new functionality with a new [issue](https://github.com/GearPlug/jira-python/issues).\n#### If you want to add yourself some functionality to the wrapper:\n1. Fork it ( https://github.com/GearPlug/jira-python )\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Adds my new feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Fjira-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgearplug%2Fjira-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Fjira-python/lists"}