Redmine - 如何更改项目和问题 URL?
我习惯了 JIRA url 样式:domain.com/browse/projectIdentifier-issueNumber
例如。 domain.com/browse/ACN-456
我可以配置 Redmine 使用与 JIRA 相同的 url 映射吗? 现在我的配置提供如下内容:
对于项目:domain.com/projects/projectIdentifier
问题:domain.com/issues/issueNumber
亲切的问候。
I am used to JIRA url style: domain.com/browse/projectIdentifier-issueNumber
eg. domain.com/browse/ACN-456
Can I configure Redmine to use the same url mapping like JIRA? Now my configuration offers something like this:
for projects: domain.com/projects/projectIdentifier
for issues: domain.com/issues/issueNumber
Kind regards.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您熟悉 Rails 或 Rails 风格的框架,则可以编辑 config/routes.rb 并更改路由。但是您必须修复大量 URL 并以某种方式处理 REST 风格的 URL。
老实说,这可能不值得付出努力。我假设 Redmine 从问题 URL 中省略了该项目,因为问题可以在项目之间移动,这会无缘无故地破坏链接。
If you're familiar with Rails or Rails-style frameworks, you could edit
config/routes.rb
and change the routing. But you'd have to fix quite a lot of URLs and deal with the REST-style ones somehow.This is probably not worth the effort, honestly. I assume Redmine omits the project from issue URLs because issues can move between projects, which would break links for no good reason.