Comments not added to JIRA issues

Florian Mittag's Avatar

Florian Mittag

09 Oct, 2018 02:29 PM

This might be a very simple problem, but I couldn't find any documentation about it here or anywhere else.

We recently switched to JIRA and RhodeCode and I'm not happy about the integration. When I make a commit to my Mercurial repository with the commit message "#PROJECT-123 Add new test case", the change will correctly be linked to the issue in JIRA, but the comment is rather useless:

CODE QS added a comment - 1 day ago
Commit 1234567890ab by User <[email blocked]> on Test Cases branch references this issue.

What I expect is to see "Add new test case" or "#PROJECT-123 Add new test case" as comment. I don't want to follow the link to the RhodeCode site to see the comment. Did we configure something incorrectly? Or is this something that can't be done?

Thanks in advance

  1. Support Staff 1 Posted by Marcin Kuzminsk... on 09 Oct, 2018 03:06 PM

    Marcin Kuzminski's Avatar

    Hi Florian,

    Thank you for your message. Yes, i can confirm that the JIRA/Redmine integration doesn't add the commit message into the comment body.

    The reasons for that is some security concerns we had. Namely, users who have access to the issue tracker not necessarily should have access to the commit or VCS data. Exposing a link adds that layer of protection since only people who have access will be able to see the commit data and message.

    Think about some critical security issues which is described in the commit message could get exposed to some public issue tracker. This is why we expose only limited information, to have a most secure default.

    That said, we're getting a lot of feedback about the integration type text. We plan to add some options to override default templates used for those. So for release 4.14 we'll have a new option to set some custom templates, and you will be able to add your own formatting and expose data you wish to have.

    Hope this answers your question.

  2. 2 Posted by Florian Mittag on 10 Oct, 2018 08:11 AM

    Florian Mittag's Avatar

    Hi Marcin,
    thank you for your quick reply, now I can tell our admins to stop searching ;)
    I understand the rationale behind this, but since we are (currently) using both JIRA and RhodeCode purely internally, you can count us to those users that would very much like the option to override the default templates used for commit messages.

    Thanks again!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

17 Oct, 2018 03:22 PM
15 Oct, 2018 12:10 PM
15 Oct, 2018 05:20 AM
10 Oct, 2018 08:11 AM
03 Oct, 2018 01:16 PM


01 Oct, 2018 08:41 AM
28 Sep, 2018 10:12 AM
26 Sep, 2018 04:34 AM
21 Sep, 2018 04:40 PM
18 Sep, 2018 03:30 PM
11 Sep, 2018 09:12 AM