Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Display comment ID

Brett Bendickson May 16, 2012

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
Answer accepted
Roman Kuznetsov
Contributor
April 27, 2013

Hi, Brett

You can change the template for comments here

WEB-INF\classes\templates\plugins\jira\issuetabpanels\comment.vm

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

Cheers

0 votes
Vincent Wei
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 29, 2016

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

Adam Meyers
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 3, 2018 edited

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

0 votes
IT April 10, 2013

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

jredel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 16, 2022

I filed a feature request with the team, here: https://jira.atlassian.com/browse/JRACLOUD-80242. Please vote up!

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events