{"id":13684359,"url":"https://github.com/macklinu/danger-plugin-jira-issue","last_synced_at":"2025-06-23T21:37:18.651Z","repository":{"id":148762768,"uuid":"91020895","full_name":"macklinu/danger-plugin-jira-issue","owner":"macklinu","description":"Danger plugin to link JIRA issue in pull request","archived":false,"fork":false,"pushed_at":"2023-11-17T17:29:01.000Z","size":839,"stargazers_count":21,"open_issues_count":10,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-18T19:18:21.331Z","etag":null,"topics":["ci","code-review","danger","danger-plugin","jira"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/macklinu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-05-11T20:32:24.000Z","updated_at":"2023-11-14T17:27:53.000Z","dependencies_parsed_at":"2023-05-28T21:30:11.652Z","dependency_job_id":null,"html_url":"https://github.com/macklinu/danger-plugin-jira-issue","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/macklinu/danger-plugin-jira-issue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macklinu%2Fdanger-plugin-jira-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macklinu%2Fdanger-plugin-jira-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macklinu%2Fdanger-plugin-jira-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macklinu%2Fdanger-plugin-jira-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macklinu","download_url":"https://codeload.github.com/macklinu/danger-plugin-jira-issue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macklinu%2Fdanger-plugin-jira-issue/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261560217,"owners_count":23177347,"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":["ci","code-review","danger","danger-plugin","jira"],"created_at":"2024-08-02T14:00:32.604Z","updated_at":"2025-06-23T21:37:18.600Z","avatar_url":"https://github.com/macklinu.png","language":"TypeScript","funding_links":[],"categories":["Plugins"],"sub_categories":["TypeScript (danger-js)"],"readme":"# danger-plugin-jira-issue\n\n[![Build Status](https://travis-ci.org/macklinu/danger-plugin-jira-issue.svg?branch=master)](https://travis-ci.org/macklinu/danger-plugin-jira-issue)\n[![npm version](https://badge.fury.io/js/danger-plugin-jira-issue.svg)](https://badge.fury.io/js/danger-plugin-jira-issue)\n\n\u003e [Danger](https://github.com/danger/danger-js) plugin to link JIRA issue in pull request\n\n## Usage\n\nInstall:\n\n```sh\nyarn add danger-plugin-jira-issue --dev\n```\n\nAt a glance:\n\n```js\n// dangerfile.js\nimport jiraIssue from \"danger-plugin-jira-issue\";\n\njiraIssue({\n  key: \"JIRA\",\n  url: \"https://myjira.atlassian.net/browse\",\n  emoji: \":paperclip:\",\n  format(emoji, jiraUrls) {\n    // Optional Formatter\n    return \"Some Custom Message\";\n  },\n  location: \"title\" // Optional location, either 'title' or 'branch'\n});\n```\n\nWith JIRA-123 in the PR title, Danger will comment with:\n\n\u003ctable\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth width=\"50\"\u003e\u003c/th\u003e\n      \u003cth width=\"100%\" data-danger-table=\"true\"\u003eMessages\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\u003ctr\u003e\n      \u003ctd\u003e:book:\u003c/td\u003e\n      \u003ctd\u003e:paperclip: \u003ca href=\"https://myjira.atlassian.net/browse/JIRA-123\"\u003eJIRA-123\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cp align=\"right\"\u003e\n  Generated by :no_entry_sign: \u003ca href=\"http://github.com/danger/danger-js/\"\u003edangerJS\u003c/a\u003e\n\u003c/p\u003e\n\nIf you work with multiple JIRA project boards, you can supply multiple project keys:\n\n```js\njiraIssue({\n  key: [\"ABC\", \"DEF\"],\n  url: \"https://myjira.atlassian.net/browse\"\n});\n```\n\nThis plugin will recognize issues starting with those keys (e.g. `ABC-123` and `DEF-234`).\n\n## Changelog\n\nSee the GitHub [release history](https://github.com/macklinu/danger-plugin-jira-issue/releases).\n\n## Development\n\nInstall [Yarn](https://yarnpkg.com/en/), and install the dependencies - `yarn install`.\n\nRun the [Jest](https://facebook.github.io/jest/) test suite with `yarn test`.\n\nThis project uses [semantic-release](https://github.com/semantic-release/semantic-release) for automated NPM package publishing.\n\n:heart:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacklinu%2Fdanger-plugin-jira-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacklinu%2Fdanger-plugin-jira-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacklinu%2Fdanger-plugin-jira-issue/lists"}