Display comment ID

Is it possible to display comment ID's on an issue page? Either the internal comment ID (ex: 212211) or a unique ID relative to each issue.

The use case is when referring to a specific previous comment. Currently we refer to them as "Referring to the comment from [user] on [date]", but that's cumbersome and not always specific enough. It would be ideal to be able to say "This comment superceded #4.".

3 answers

1 accepted

0 votes
Accepted answer

Hi, Brett

You can change the template for comments here


Find the line:

<div class="action-details">#actionDetailsBody($action $i18n "verbose")</div>

and insert ${action.comment.id}. Something like this:

<div class="action-details">#actionDetailsBody($action $i18n "verbose")<span>#${action.comment.id}</span></div>

Here's the result

Comment ID


I am also interested in the answer to this question. Anybody?

We are using a hosted solution at atlassian. What should we do to display Comment ID in a bug?

I'd love to be able to show comment ID on our hosted solution as well.  Don't see a way currently..

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,660 views 18 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you