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, jira product discovery, jpd premium, product management, idea management, product discovery, jira premium, product planning, atlassian community, product development, roadmap planning, product prioritization, feature management

Introducing Jira Product Discovery Premium ✨

Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.

Learn more
AUG Leaders

Atlassian Community Events