{"id":22128612,"url":"https://github.com/redhat-plumbers-in-action/fixdiscover","last_synced_at":"2025-10-20T05:07:55.285Z","repository":{"id":263567920,"uuid":"866405135","full_name":"redhat-plumbers-in-action/fixdiscover","owner":"redhat-plumbers-in-action","description":"🔍 A small CLI tool is used to search for Jira issues with linked PRs and issues that are fixed in upstream projects","archived":false,"fork":false,"pushed_at":"2024-11-26T09:02:29.000Z","size":1032,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-26T09:34:40.624Z","etag":null,"topics":["cli","fix","github","jira"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redhat-plumbers-in-action.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-10-02T07:44:58.000Z","updated_at":"2024-11-26T09:02:05.000Z","dependencies_parsed_at":"2024-11-19T09:21:27.553Z","dependency_job_id":"dc83bced-8505-45ee-a7f6-882989b069e5","html_url":"https://github.com/redhat-plumbers-in-action/fixdiscover","commit_stats":null,"previous_names":["redhat-plumbers-in-action/fixdiscover"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-plumbers-in-action%2Ffixdiscover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-plumbers-in-action%2Ffixdiscover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-plumbers-in-action%2Ffixdiscover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-plumbers-in-action%2Ffixdiscover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhat-plumbers-in-action","download_url":"https://codeload.github.com/redhat-plumbers-in-action/fixdiscover/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227606218,"owners_count":17792786,"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":["cli","fix","github","jira"],"created_at":"2024-12-01T17:46:15.445Z","updated_at":"2025-10-20T05:07:50.256Z","avatar_url":"https://github.com/redhat-plumbers-in-action.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JIRA FixDiscover\n\n[![npm version][npm-status]][npm] [![Tests][test-status]][test] [![Linters][lint-status]][lint] [![CodeQL][codeql-status]][codeql] [![codecov][codecov-status]][codecov]\n\n[npm]: https://www.npmjs.com/package/fixdiscover\n[npm-status]: https://img.shields.io/npm/v/fixdiscover\n\n[test]: https://github.com/redhat-plumbers-in-action/fixdiscover/actions/workflows/tests.yml\n[test-status]: https://github.com/redhat-plumbers-in-action/fixdiscover/actions/workflows/tests.yml/badge.svg\n\n[lint]: https://github.com/redhat-plumbers-in-action/fixdiscover/actions/workflows/lint.yml\n[lint-status]: https://github.com/redhat-plumbers-in-action/fixdiscover/actions/workflows/lint.yml/badge.svg\n\n[codeql]: https://github.com/redhat-plumbers-in-action/fixdiscover/actions/workflows/codeql-analysis.yml\n[codeql-status]: https://github.com/redhat-plumbers-in-action/fixdiscover/actions/workflows/codeql-analysis.yml/badge.svg\n\n[codecov]: https://codecov.io/gh/redhat-plumbers-in-action/fixdiscover\n[codecov-status]: https://codecov.io/gh/redhat-plumbers-in-action/fixdiscover/graph/badge.svg\n\n\u003c!-- --\u003e\n\n## Description\n\nSmall CLI tool to search for Jira issues with linked PRs and Issues that are fixed in an upstream projects.\n\n## Usage\n\nMake sure to store your JIRA Personal Access Token (PAT) and GitHub PAT in the `~/.config/fixdiscover/.env` or `~/.env.fixdiscover` file:\n\n```bash\n# ~/.config/fixdiscover/.env\nJIRA_API_TOKEN=\"exaple-token\"\nGITHUB_API_TOKEN=\"exaple-token\"\n```\n\n\u003e [!TIP]\n\u003e\n\u003e You can also set default values for the `component` and `upstream` in the `~/.config/fixdiscover/.env` or `~/.env.fixdiscover` file:\n\u003e\n\u003e ```bash\n\u003e # ~/.config/storypointer/.env\n\u003e COMPONENT=\"your-component\"\n\u003e UPSTREAM=\"upstream-project\"\n\u003e ```\n\n### Using Node.js\n\n```bash\n# run it using npx\nnpx fixdiscover\n\n# or install it globally using npm\nnpm install -g fixdiscover\nfixdiscover\n```\n\n## How to use\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e This tool is intended to be used by Red Hat employees on the Red Hat JIRA instance. It may be adapted to work with other JIRA instances in the future.\n\n```md\n$ fixdiscover --help\nUsage: fixdiscover [options]\n\n🔍 A small CLI tool is used to search for Jira issues with linked PRs and issues that are fixed in upstream projects\n\nOptions:\n  -V, --version                output the version number\n  -c, --component [component]  issue component\n  -u, --upstream [upstream]    upstream project\n  --migrate                    migrate links from Bugzilla to Jira\n  -n, --nocolor                disable color output (default: false)\n  -x, --dry                    dry run (default: false)\n  -h, --help                   display help for command\n```\n\n\u003e [!TIP]\n\u003e\n\u003e You can disable color output by setting the `NOCOLOR` environment variable to `true`.\n\u003e\n\u003e ```bash\n\u003e NOCOLOR=true npx fixdiscover\n\u003e ```\n\u003e\n\u003e Similarly, you can enable dry run by setting the `DRY` environment variable to `true`.\n\n### Examples\n\nSize all issues of the `curl` component:\n\n```md\nfixdiscover -c systemd -u systemd/systemd\n\nhttps://issues.redhat.com/browse/RHEL-66198\n  - commit: https://github.com/systemd/systemd/commit/7102dc52e6b03248da1f01b3a8a4b83c6d7a1316\n  - commit: https://github.com/systemd/systemd/commit/d25a9bfa8f8bd42b769dbf2f9786348864cf5e08\n  - commit: https://github.com/systemd/systemd/commit/67f90b0d85bc425ec2c11106e8270c981c36585a\n  - commit: https://github.com/systemd/systemd/commit/3d689b675b565c29a51c7127ae30839987aaa18b\n\nhttps://issues.redhat.com/browse/RHEL-50103\n  - issues: https://github.com/systemd/systemd/issues/34082\n  - pull: https://github.com/systemd/systemd/pull/34099\n  - pull: https://github.com/systemd/systemd/pull/33682\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-plumbers-in-action%2Ffixdiscover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhat-plumbers-in-action%2Ffixdiscover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-plumbers-in-action%2Ffixdiscover/lists"}