Skip to content

[BUG] Any link in commit message causes "Invalid issue key" #638

@DidierLoiseau

Description

@DidierLoiseau

Describe the bug
With the “Check issue key reference” enabled in the settings, and patterns only matching our Jira keys in “Issue navigation”, it still somehow matches any link in the commit message, and expects it to match the branch name.

To Reproduce
Steps to reproduce the behavior:

  1. Write a commit message with a proper issue key and a link, e.g.
fix ■■■■■■-4048: blabla

See https://google.com
  1. Try to commit
  2. GitToolBox rejects it with “Invalid issue key”, indicating that the URL is not present in the branch name:
Image

Expected behavior
URLs should not be considered as issue keys (at least, by default).

Plugin version
600.2.1+253

IDE version
IntelliJ IDEA 2025.3
Build #IU-253.28294.334, built on December 5, 2025
Source revision: f50d587f27abb
Subscription is active until December 29, 2025.
Runtime version: 21.0.8+9-b1163.69 amd64 (JCEF 137.0.17)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 3072M
Cores: 14
Registry:
analyze.exceptions.on.the.fly=true
vcs.log.index.enable=true
documentation.show.toolbar=true
ide.undo.transparent.caret.movement=true
ide.experimental.ui=true
jetbrains.security.package-checker.enableNpmTransitiveDependencies=false
Non-Bundled Plugins:
com.intellij.notebooks.core (253.28294.337)
com.intellij.debugger.collections.visualizer (253.28294.336)
intellij.bigdatatools.coreUi (253.28294.251)
intellij.bigdatatools.awsBase (253.28294.334)
org.intellij.plugins.hcl (253.28294.251)
com.jetbrains.space (253.28294.218)
org.editorconfig.editorconfigjetbrains (253.28294.335)
PythonCore (253.28294.334)
org.jetbrains.plugins.go-template (253.28294.218)
com.intellij.javaee (253.28294.336)
com.intellij.spring (253.28294.351)
com.intellij.velocity (253.28294.336)
com.jetbrains.jax.ws (253.28294.251)
com.intellij.spring.debugger (253.28294.218)
com.redhat.devtools.intellij.telemetry (1.2.1.62)
com.redhat.devtools.lsp4ij (0.19.0)
com.intellij.aqua (253.28294.251)
intellij.jupyter (253.28294.337)
org.asciidoctor.intellij.asciidoc (0.45.1)
com.intellij.openRewrite (253.28294.251)
com.atlassian.bitbucket.references (2023.1.304)
com.intellij.bigdatatools.core (253.28294.334)
com.intellij.mcpServer (253.28294.336)
zielu.gittoolbox (600.2.1+253)
org.sonarlint.idea (11.7.0.83838)
org.jetbrains.security.package-checker (253.28294.335)
com.intellij.wiremock (252.3.0)
com.intellij.bigdatatools.kafka (253.25909.0)
Kotlin: 253.28294.334-IJ

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions