{"id":20492551,"url":"https://github.com/redmadrobot/danger-jira_issue_links","last_synced_at":"2025-10-13T13:33:26.259Z","repository":{"id":34721052,"uuid":"183006358","full_name":"RedMadRobot/danger-jira_issue_links","owner":"RedMadRobot","description":"Danger plugin","archived":false,"fork":false,"pushed_at":"2023-03-17T02:34:54.000Z","size":83,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-07T15:31:23.023Z","etag":null,"topics":["ci","danger","jira","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/RedMadRobot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2019-04-23T12:06:15.000Z","updated_at":"2023-07-15T10:10:37.000Z","dependencies_parsed_at":"2024-11-15T17:43:36.387Z","dependency_job_id":null,"html_url":"https://github.com/RedMadRobot/danger-jira_issue_links","commit_stats":{"total_commits":26,"total_committers":3,"mean_commits":8.666666666666666,"dds":"0.34615384615384615","last_synced_commit":"f4024e5b4e7eff6fc2f05ad101202a2e49f03853"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/RedMadRobot/danger-jira_issue_links","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMadRobot%2Fdanger-jira_issue_links","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMadRobot%2Fdanger-jira_issue_links/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMadRobot%2Fdanger-jira_issue_links/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMadRobot%2Fdanger-jira_issue_links/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedMadRobot","download_url":"https://codeload.github.com/RedMadRobot/danger-jira_issue_links/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedMadRobot%2Fdanger-jira_issue_links/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015312,"owners_count":26085684,"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-10-13T02:00:06.723Z","response_time":61,"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":["ci","danger","jira","ruby"],"created_at":"2024-11-15T17:29:36.051Z","updated_at":"2025-10-13T13:33:26.231Z","avatar_url":"https://github.com/RedMadRobot.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# danger-jira_issue_links\n### Plugin for [Danger](https://danger.systems/)\n\nThis plugin collects issue mentions from git commit messages and obtains info from Jira issue tracker.\u003cbr\u003e\n\nBy default, commit message should start with pattern `[TASK-123]` ([this can be configured](https://github.com/RedMadRobot/danger-jira_issue_links#usage)), where TASK is Jira project Id and 123 is issue number.    \nFor example, for commit message:\n```\n[JSGLK-1145] Resolve bug with incorrect price calculation\n```\nResults are passed out as a table in the Danger comment for merge request.\n\n![Screenshot](resources/danger-screenshot.png)\n\n\n## Installation\n\nIf you use Bundler, add next line to `Gemfile` and execute `bundle install`\n\n    gem 'danger-jira_issue_links'\n\nOr install manually\n\n    $ gem install danger-jira_issue_links\n\n## Usage\n\nIn `Dangerfile` add next lines:\n\nConfigure connection to you Jira instance\n\n```\njira_issue_links.jira_username = \"email\"\njira_issue_links.jira_password = \"password\"\njira_issue_links.jira_site = \"https://your-company.atlassian.net\"\n```\n\nYou can configure regexp that finds `issue id` in commit messages. \n\nFor example - issue id can be anywhere in message, but it starts with `TASK-`\n```\nFix bug as per TASK-1234\n```\n```\njira_issue_links.issue_number_regexp = /(TASK-\\d+)/\n```\nBy [default](https://github.com/RedMadRobot/danger-jira_issue_links#plugin-for-danger) it is set to `/^\\[(\\w+-\\d+)\\]/` \n\n\nThe `include_resolves_keyword` option adds phrase `Resolves TASK-123` in output report.\nIt allows GitLab Jira plugin to automatically close issues (see: [GitLab Jira integration](https://docs.gitlab.com/ee/user/project/integrations/jira.html#closing-jira-issues)).\n```\njira_issue_links.include_resolves_keyword = true\n```\n\n\nFind all issue mentions in commit messages, obtain info from Jira and make table of links\n```\njira_issue_links.print_links_with_titles\n```\n\nFind all issue mentions in commit messages and make links. \u003cbr\u003e\nNot required access to Jira, needs only base url - `jira_site`.\n```\njira_issue_links.print_links_only\n```\n\n\n## Development\n\n1. Clone this repo\n2. Run `bundle install` to setup dependencies.\n3. Run `bundle exec rake spec` to run the tests.\n4. Use `bundle exec guard` to automatically have tests run as you make changes.\n5. Make your changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredmadrobot%2Fdanger-jira_issue_links","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredmadrobot%2Fdanger-jira_issue_links","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredmadrobot%2Fdanger-jira_issue_links/lists"}