Giving a number to the comment on an issue

Hi,

When we comment the issue in JIRA, we want to give a number to the comment.

How is it possible to give the number to the comment in JIRA ?

Regards

Deepak Bhatia

3 answers

1 accepted

This widget could not be displayed.

I mean before each comment, its number on that issue should come ?

For example

1 Comment

2 Comment

Thanks

Deepak

Ah, I think I understand. Instead of <Author><date/time><comment>, you want <Author><date/time><sequence><comment>

No, it doesn't do that. You'll need to do a bit of coding to implement that. Bearing in mind there's nowhere to store it in the database, I'd be tempted to have a go at the comment display code and see if I could derive the number from the date/time stamps.

This widget could not be displayed.

What do you mean by "give a number"?

Do you mean you want it in-line (use wiki-markup, and prefix each line with a #) or you want to refer to the comment by it's unique ID? Or something else?

This widget could not be displayed.

Nic, how about the index# of the comment? This should be easily configurable. DeepakBhatia is probably a former Bugzilla! user like I am. In Bugzilla!, each comment is numbered:

Comment#1
"blah blah blah"

Comment#2
"blah Blah Blah2"

The point is that it is really handy, when responding to comments, to refer to which comment you are commenting on. Futher, Bugzilla! goes so far as to as to autoembed a link to the comment in the new comment. So if I were to type: "Joe, in Comment#3 you said the system state was default. That is not correct, the state is active", the text "Comment#3" is a link.

If JIRA has a different concept that is synonomous, let's hear it.

There is no index number on the comment, there's nothing to "easily configure".

That's the point I'm making when I say "you'll need a bit of code to do it" - if you want to do this, you need to write some code to work out and expose that index.

Although you do have the unique id of each comment available and instead of doing date/time, you could simply count through those on an issue (If you see id's 10010, 10300, 23456, then you'd number them 1, 2, 3 - higher numbers in the id mean they were added later)

My guess is Jira doesn't have this because it's not as useful as it might look, unless you've got multithreaded conversations going on, in which case, your issue is probably too complex!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

69 views 0 1
Join discussion

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