{"id":17137143,"url":"https://github.com/alex3165/jira-github-plugin","last_synced_at":"2026-01-31T02:32:35.524Z","repository":{"id":44116332,"uuid":"192565509","full_name":"alex3165/Jira-github-plugin","owner":"alex3165","description":"Lambdas to update Jira according to Github actions","archived":false,"fork":false,"pushed_at":"2023-01-04T02:36:04.000Z","size":1785,"stargazers_count":1,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T23:43:17.688Z","etag":null,"topics":["aws","bot","github","jira","lambda-functions","serverless"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/alex3165.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}},"created_at":"2019-06-18T15:18:25.000Z","updated_at":"2019-07-01T22:56:56.000Z","dependencies_parsed_at":"2023-02-01T18:01:06.061Z","dependency_job_id":null,"html_url":"https://github.com/alex3165/Jira-github-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alex3165/Jira-github-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex3165%2FJira-github-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex3165%2FJira-github-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex3165%2FJira-github-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex3165%2FJira-github-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alex3165","download_url":"https://codeload.github.com/alex3165/Jira-github-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex3165%2FJira-github-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28927191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T22:32:35.345Z","status":"online","status_checked_at":"2026-01-31T02:00:09.179Z","response_time":128,"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":["aws","bot","github","jira","lambda-functions","serverless"],"created_at":"2024-10-14T20:06:20.155Z","updated_at":"2026-01-31T02:32:35.509Z","avatar_url":"https://github.com/alex3165.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github drive Jira\n\n![example gif](example.gif \"example gif\")\n\nThis project contain 2 AWS lambda which listen to Github webhook and update Jira given the following actions mapping:\n\n- Create branch (branch name should have Jira ticket number) will update Jira task to \"In Progress\" status\n- Create a Pull Request will update Jira status to \"In Review\"\n- Merge a Pull Request will update Jira status to \"Done\"\n\n## How to use\n\ncreate a `.env` file with the following environment variables:\n\n```shell\nTOKEN=YOUR_JIRA_TOKEN\nJIRA_DOMAIN=YOUR_JIRA_DOMAIN\nUSERNAME=YOUR_JIRA_USERNAME\n\n# The following environment variables should be named from your Jira configuration\nGITHUB_PR_OPEN=\"In Review\"\nGITHUB_BRANCH_OPEN=\"In Progress\"\nGITHUB_PR_MERGED=\"Done\"\n```\n\nInstall dependencies:\n\n```shell\nnpm install\n```\n\nDeploy the lambda to your AWS distribution:\n\n```\nserverless deploy\n```\n\nThen:\n\n- Create an API Gateway and expose the 2 lambda endpoints to get 2 urls\n- Configure webhooks on your Github repository to point to the lambda accordingly, `create_branch` event should point to `branch-lambda.js` and `pull_request` events should point to `pr-lambda.js`\n\n### (Bonus) Prepend commit messages with branch name\n\nInstall pre-commit on your local machine:\n\n```\nbrew install pre-commit\n```\n\nAdd a `.pre-commit-config.yaml` file to your project with the following content:\n\n```yaml\nrepos:\n  - repo: https://github.com/milin/giticket\n    rev: \"868d937\"\n    hooks:\n      - id: giticket\n        args: [\"--format=[{ticket}] {commit_msg}\"] # Optional\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falex3165%2Fjira-github-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falex3165%2Fjira-github-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falex3165%2Fjira-github-plugin/lists"}