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, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events