为什么 Youtrack 不通过提交消息关闭问题?

Why Youtrack is not closing an issue by commit message?

我已经在我的电脑上安装了独立的 Youtrack。并向其中添加了 Gitlab 项目。我在 Youtrack 中使用 ID #BDX-1 创建了一个测试问题。

当我使用消息 "Youtrack test commit #BDX-1 Fixed" 推送提交时,Youtrack 没有自动关闭问题。然后我只是在 VCS Changes 部分手动附加了 gitlab commit。这也没有用。

然后我也安装了Upsource,想把它连接到Youtrack。这次尝试也失败了。我尝试安装一个外部集线器并将 Upsource 和 Youtrack 连接到它。 Upsource 失败并出现错误 HTTP 403,并且无法迁移 Youtrack,因为:

Hub provides single sign-on and shared user management in JetBrains web-based products.YouTrack always uses Hub for authentication, authorization, and user management, even when installed alone.

If Hub integration is disabled, the following features are not available: LDAP/OAuth/Google authentication, CAPTCHA, and the most part of user registration settings.

The following deployment models are supported:

— Preconfigured Hub instance embedded in YouTrack distribution that works right away after installation. You can use this page to adjust connection parameters, if necessary. — External Hub instance that may be used by YouTrack to share user data with other JetBrains applications. Current installation does not support external Hub integration.

我安装的Youtrack版本好像不支持Hub Integration,不过反正手动添加VCS commit的时候Youtrack应该会关闭issue吧?

如何解决这个问题?

When I pushed commit with message "Youtrack test commit #BDX-1 Fixed" Youtrack is not closing an issue automatically.

如果州字段附加了 state machine script,则正确的命令术语可能会有所不同。可以从命令 window 检查相同的命令是否适用。如果它在命令 window 中起作用,那么它也应该在提交消息中起作用。

The version of Youtrack I have installed seems doesn't support Hub Integration

您必须使用 JAR 分发包。只有 ZIP 和 MSI 分发版可以与独立的 Hub 实例一起使用。