Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Date time information saved in Jira Database for transitions


Hi All,

I have created an issue in Jira.Based on the date and time the Created Field is updated.This field takes system date and time.

Now I am updating the issue from one status to another and in the transitions I can see both Date and time are displayed.

I am trying to search for this issue in my Jira Database JiraIssue table and changegroup table, when I see the created column the data has only date information.It does not contains time information.

Could you please help me if this information is saved somewhere in database or direct to correct database tables or a way to retrieve this date and time information from database.


2 answers

I know it's late, as the posting is from 2019, but I can provide an answer (I experienced the same issue).

Just run this command before running the SELECT query and you will see date and time information for [Created] field:

alter session set nls_date_format='YYYY-MM-DD HH24:MI:SS';


M. R.

0 votes

Created date and time is stored in the jiraissue table, and all changes to an issue are logged in changegroup.  Both fields used for storing when the action was taken are date/time fields and capture both date and time.

What tool are you using to read the database?  It sounds like the tool is set to ignore time stamps in date columns!

I am using Jira version 7.9 in production and 7.11 in test environment and using SQL database to retrieve the data .

Query used to fetch data is below:select row_number() over (PARTITION BY JI.ID order by CG.CREATED asc) row#,JI.ISSUENUM as ID,
CI.OLDSTRING as FromStatus, CI.NEWSTRING as ToStatus,
from jiraissue JI
join changegroup CG on CG.issueid = JI.ID
join changeitem CI on and field = 'status'
LEFT JOIN nodeassociation X ON X.SOURCE_NODE_ID = ji.ID and X.ASSOCIATION_TYPE = 'IssueFixVersion'
LEFT JOIN projectversion Y ON Y.ID = X.SINK_NODE_ID
JOIN project ON project.ID = ji.PROJECT AND =
JOIN issuestatus s ON ji.issuestatus = s.ID
where JI.CREATED>'01-JAN-18' and JI.ISSUETYPE=

Attached is the screenshot from history tab that shows the data and time format for each transition change.

Also attached is the JIRAISSUE Database structure that shows that 'CREATED','UPDATED' column has data type as DATE.

Was this changed in the recent releases?

Is there some other table which I could join to my query to retrieve details related to date and time both?Jiraissue_Databasetable.pngTransition Date and time.png

Is there some update on the issue?



>Was this changed in the recent releases?

No, it has not changed since Jira 1

>Is there some other table which I could join to my query to retrieve details related to date and time both?

No, because, as I said before, the data is stored in the tables you are reading, and there is no reason to duplicate it elsewhere.  The date and time you are pointing to in the change history in your screenshot is the date/time stored in the changegroup date/time field.

I do not know why your database tool is suppressing the time display.  Mine does not.  A changegroup in my Jira (was 7.6, now 8.0) looks like this:

Screenshot 2019-03-28 at 10.39.52.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

136 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you