jira 和 git 连接起来

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3282677/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 04:25:54  来源:igfitidea点击:

jira and git linking up

gitjira

提问by myusuf3

I recently moved to jira for my bug management tool. I have installed the most recent copy which 4.1. We use Git as our version control system, I am looking to set it up, so looking around i found that the Git Integration Plugin for JIRAby BigBrassBand is one of the most popular.

我最近为了我的错误管理工具搬到了 jira。我已经安装了最新的 4.1. 我们使用 Git 作为我们的版本控制系统,我想设置它,所以环顾四周,我发现BigBrassBand 的JIRAGit 集成插件是最受欢迎的插件之一。

Unfortunately, like all things that happen in my day, its only fully compatible with Jira 3.13.

不幸的是,就像我今天发生的所有事情一样,它只与 Jira 3.13 完全兼容。

Anyone have suggestions for managing this, or working around it.

任何人都有管理此问题或解决此问题的建议。

Also anything pre/post commit hooks with jira/git would be helpful too!

任何使用 jira/git 的前/后提交挂钩也会有帮助!

采纳答案by VonC

As you can see in this changeset, regarding the Jira Git Pluginyou mentioned:

正如您在此变更集中看到的,关于您提到的Jira Git 插件

  • JGit 0.5 will be out soon, with a Jira 4 compatibility built-in.
  • For right now, you can try that GitHub repo, with Jira 4 support and branch support
  • JGit 0.5 即将推出,内置 Jira 4 兼容性。
  • 现在,您可以尝试使用 Jira 4 支持和分支支持的GitHub 存储库

Note (2011), as CharlesBmentions in the comments, the latest JGit versions have all Jira4 compatibility:

注意(2011),正如CharlesB在评论中提到的,最新的 JGit 版本具有所有 Jira4 兼容性:

0.6 Release Notes (27/Mar/2011)

0.6 发行说明 (27/Mar/2011)

  • migrated to v2 plugin system
  • Jira 4.3support
  • web links for Gitorius and cgit
  • 迁移到 v2 插件系统
  • Jira 4.3支持
  • Gitorius 和 cgit 的网络链接

0.5.3 Release Notes (13/Feb/2011)

0.5.3 发行说明 (13/Feb/2011)

  • Jira 4.2 fixes
  • [...]
  • Jira 4.2 修复
  • [...]

[...]

[...]

0.5.1 Release Notes (15/Nov/2010)

0.5.1 发行说明(2010 年 11 月 15 日)

  • support for Jira 4.1
  • tracking multiple branches
  • 支持 Jira 4.1
  • 跟踪多个分支

回答by Ben Walding

Another option is to use JIRA -> FishEye -> Git

另一种选择是使用 JIRA -> FishEye -> Git

Admittedly, FishEye is another expense, but that might be preferable to messing around with plugins that only half work. FishEye also gives you a lot more information about your repositories.

诚然,FishEye 是另一项费用,但这可能比弄乱只有一半工作的插件更可取。FishEye 还为您提供了更多关于您的存储库的信息。

Be aware that at present, the FishEye index (that is created from your Git repository) will take around 3x the space of the Git repository. Atlassian is looking into this and making some improvements in the area.

请注意,目前,FishEye 索引(从您的 Git 存储库创建)将占用 Git 存储库大约 3 倍的空间。Atlassian 正在研究这一点并在该领域进行一些改进。

回答by cweiske

You could use a self-hosted Gitoriousfor git repository management, and klonfischas bridge between Gitorious and JIRA (using the JIRA FishEye plugin).

您可以使用自托管的Gitorious进行 git 存储库管理,并使用klonfisch作为 Gitorious 和 JIRA 之间的桥梁(使用 JIRA FishEye 插件)。