Question

is there any plug in for redmine, to display linked changesets for a specific issue? I specified Repository (Mercurial) and I would like to see changesets clicking to an Issue.

Was it helpful?

Solution

You don't need a plugin for this - it's built-in. All you need to do when committing to your repository is to enter the issue number preceded by a # in your message.

For an example, check out an issue on the redmine web site: http://www.redmine.org/issues/6317

There's a column containing Associated revisions which contains source control changesets. They appear on this issue because they have #6317 in their message.

Depending on the configuration of redmine, a keyword before the issue number is needed in order to have the changeset linked to the issue. Those keywords can be modified in the settings of redmine:

redmine settings

Examples for the above settings:

  • refs #1234
  • references #1234, #1337
  • issue #1234 #1337 & #1001

If you'd like to omit keywords and simply link a changeset to all issue numbers found in the log message, enter a * into the Referencing keywords textbox.

Finally, in order to have redmine check for new changesets and parse the repository's log messages, you'll need to click on the Repository tab, or configure a rake task to do it regularly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top