Using custom JIRA issue keys with Bitbucket Server

Linking Bitbucket Server with JIRA



アトラシアン コミュニティをご利用ください。


Bitbucket Server assumes that JIRA Software issue keys are of the default format (that is, two or more uppercase letters ([A-Z][A-Z]+), followed by a hyphen and the issue number, for example TEST-123). By default, Bitbucket Server will not recognize custom issue key formats.

You can use custom issue key formats with Bitbucket Server, however note that integrations with JIRA Software can depend on using the default issue key format in both applications. See Integrating using custom JIRA Software issue keys for more details.

Configure Bitbucket Server to recognize custom issue key formats by editing <Bitbucket Server installation directory>/bin/ (on Windows, edit <Bitbucket Server installation directory>/bin/setenv.bat instead).

To override the default issue key format, use the JVM_SUPPORT_RECOMMENDED_ARGS property, like this:

Bitbucket Server および Stash 2.8 以降:
JVM_SUPPORT_RECOMMENDED_ARGS="-Dintegration.jira.key.pattern=\"(<Some different regex>)\""

Bitbucket Server を再起動する必要があります。


たとえば、課題キーで小文字を使用するには、次のようなパラメーターで regex を使用します。

Bitbucket Server および Stash 2.8 以降:

See also Reindex JIRA Software issue keys.

As always, please back up your home directory (and perhaps the database) before performing any manual operation on Bitbucket Server. Consider testing this change on another copy of Bitbucket Server before using it in production.

最終更新日 2016 年 5 月 26 日


Powered by Confluence and Scroll Viewport.