Skip to content

feat: add link pr command that links open github prs with the jira issue#717

Merged
ccntrq merged 1 commit intomasterfrom
feat/link-pr-with-jira-ticket
Mar 24, 2026
Merged

feat: add link pr command that links open github prs with the jira issue#717
ccntrq merged 1 commit intomasterfrom
feat/link-pr-with-jira-ticket

Conversation

@ccntrq
Copy link
Copy Markdown
Owner

@ccntrq ccntrq commented Mar 24, 2026

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 79.59% 437 / 549
🔵 Statements 79.78% 450 / 564
🔵 Functions 68.91% 204 / 296
🔵 Branches 74.43% 131 / 176
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/cli.ts 91.66% 71.42% 100% 91.66% 66
src/types.ts 82.22% 40% 60% 82.22% 12, 22, 170-182, 229
src/commands/link-pr/link-pr.command.ts 80% 66.66% 83.33% 80% 18, 33-40
src/commands/link-pr/link-pr.handler.ts 100% 100% 100% 100%
src/services/app-config.ts 100% 66.66% 100% 100%
src/services/git-client.ts 91.93% 83.33% 89.58% 91.52% 174-189
src/services/github-client.ts 82.29% 78% 71.87% 81.72% 134-149, 184, 200, 252, 285-305, 374-400
src/services/jira-client.ts 80.95% 37.5% 72% 80.48% 134-136, 164-168, 199-225, 236-250
src/test/mock-implementations.ts 68% 0% 44.82% 68% 23-25, 39-44, 62-75, 84, 93, 96, 112, 115, 121, 124, 128, 148-157
Unchanged Files
package.json 100% 100% 100% 100%
src/commands/create/create.command.ts 50% 100% 0% 50% 31-39
src/commands/create/create.handler.ts 96% 92.85% 100% 96% 80
src/commands/delete/delete.command.ts 25% 100% 0% 25% 33-45
src/commands/delete/delete.handler.ts 85.71% 100% 83.33% 85.71% 37-41
src/commands/info/info.command.ts 33.33% 100% 0% 33.33% 15-20
src/commands/info/info.handler.ts 100% 100% 100% 100%
src/commands/list/list.command.ts 50% 100% 0% 50% 7-12
src/commands/open/open.command.ts 50% 100% 0% 50% 14
src/commands/open/open.handler.ts 66.66% 100% 55.55% 72.72% 9-17
src/commands/switch/switch.command.ts 50% 100% 0% 50% 16-19
src/commands/switch/switch.handler.ts 100% 100% 100% 100%
src/commands/tidy/tidy.command.ts 14.28% 0% 0% 14.28% 14-33
src/commands/tidy/tidy.handler.ts 6.25% 0% 0% 6.66% 7-49
src/schema/branch-not-merged.ts 100% 100% 100% 100%
src/schema/no-associated-branch.ts 100% 100% 100% 100%
src/test/util.ts 70.58% 75% 60% 70.58% 47, 51-53, 89, 108
src/test/dummies/dummyJiraIssue.ts 100% 100% 100% 100%
src/utils/associated-branch.ts 100% 100% 100% 100%
src/utils/branch-formatter.ts 100% 100% 100% 100%
src/utils/issue-formatter.ts 100% 50% 100% 100%
src/utils/jira-key-from-branch.ts 100% 100% 100% 100%
src/utils/jira-key.ts 100% 100% 100% 100%
src/utils/result-formatter.ts 42.85% 100% 0% 42.85% 8, 11, 14-17
src/utils/slugger.ts 100% 100% 100% 100%
src/utils/url-opener.ts 26.66% 100% 0% 26.66% 9-16, 21, 24-29, 34-40
Generated in workflow #2396 for commit bd96138 by the Vitest Coverage Report Action

@ccntrq ccntrq merged commit f3ea8e6 into master Mar 24, 2026
14 checks passed
@ccntrq ccntrq deleted the feat/link-pr-with-jira-ticket branch March 24, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant