What database table stores comments for JIRA Download version?

I'm trying to determine if a particular user made comments in our JIRA instance. Can anyone tell me where the issue comments are stored? By "where" I am refering to the name of the database table. Thanks in advance for your help!

1 answer

1 accepted

12 votes

You can read it straight off their activity stream in their profile.

Or, if you insist on SQL, look in "jiraaction". You'll probably want to join it to jiraissue to find out which issues the comments were made on.

Thanks Nic! Found just what I needed, I appreciate the assist.

@Nic,

What else could be in the jiraaction table other than comments?

Older Jira systems used to store other stuff in there, so you might find historical data from version 2 if your system goes back that far.

I don't think the more recent versions of Jira store anything other than comments in it, but I'm not 100% sure. If you've found things other than comments in there, be interesting to take a look.

One might reasonably wonder why the table is not called something such as "comments". I suspect in the early days everything that wasn't core issue data lived there.

If you've inherited a really old Jira dataset (as in 2.1 or lower, although you don't want to rely on my memory for the exact versions), you might find Jiraaction has history data for issues updated while it was on that version. I don't know if later versions actively copy or move the history data to changegroup and changeitem though. I just remember finding a batch of historical non-comment actions in the table!

@Nic Brough [Adaptavist], one step deeper: how do I tell from the actions table which comments were internal and which were responses to customer? Is there a table that associates the action with the security level?

Hmm. I'm not sure how it works in servicedesk. In plain JIRA, the column "rolelevel" on Jiraaction covers it.

Yeah, nothing in that column for service desk comments

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

164 views 1 17
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