I would really appreciate a piece of advice here. I noticed that change logs related to time trackings changes just disappear (in about 12 hours) and not even REST API returns the data anymore. (this does not relate to worklogs, they are still there).
Please see the screenshot below - I logged time and manually adjusted the remaining estimate. You can see the data in the change logs. However, 13 hours later, the same change log does not contain the data anymore. And the biggest problem is that nor rest api returns it.
.
The previous question was related because apparently there is a problem (or maybe a feature we do not know about) - as shown in picture, these change logs disappear quickly (12 hours or so). And not even the REST API returns the data anymore, it seems as if the "older" records were not returned by the server, or something like that.
Obviously, this problem only affects change logs generated during logging work (i.e. when also the work log is created). However, worklogs do not contain changes of remaining estimate and therefore are not of the same value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried using API to get worklogs instead changelogs
/rest/api/2/issue/{issueIdOrKey}/worklog
At least you could find if data are there on the other table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, worklogs are there, but worklogs do not track changes in remaining time. E.g. when a user logs 2 hours but increases the remaining effort, this is only captured in the change logs.
The problem of "disappearing" is definitely related to change logs generated at the time of logging work. Changes done separately (e.g. editing remaining time) stay correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just in case it can help you figure out what is happening (i can't make a guess) these are the tables that seem to be involved in a time logging.
I added 1h and set the estimate to 2h in an issue.
changeitem shows every field changed, it registers also the id of the worklog file added
changegroup indicates the affected issue of everychange realized in changeitem
jiraissue stores (among many other data i didn't included) the original estimated, time estimated and time spent calculated after every log
worklog finally stores the complete data of the worklog, author, start date, comments...
Hope this can help in any way
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, unfortunately I do not have access to the tables.
But could you please try the approach I described and reproduce the problem? (Because again, the changelog data is available at first, but later it is not returned anymore).
PS: Worklog does not return Timeestimate, only Timespent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I haven't have any problem with worklogs lately, i have checked and i can see them (even the oldest ones) via UI, via API and in the DB.
Sorry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Again, this is not about worklogs...this is about CHANGE LOGS that are created ALONG with worklogs.
Please check the picture I attached to the original question above. These are changelogs in the UI, and they disappear - the changeitems that capture e.g. increase of the remaining time.. Worklogs remain, that is not a problem. I explained that several times.
It should be clear from the picture I posted.
Our IT will raise a request via Atlassian support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In other words: are you able to see the change logs (shown in the picture above, containing Original and New values and shown in the UI), even after a few days?
If so, what would be the reason that it disappear for us, as shown in the picture?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any update to this, please? After my last post, clearly describing how this happens, there is no answer :(
To repeat - this only relates to changelos generated when work is logged. When Remaining Estimate is changed as a part of the Worklog, this record (changelog item) disappears within 12 hours or so, as shown in the picture.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which add-ons are you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tempo timesheets and Xray.
But not sure that is related - as you can see in the picture, the data is there, it just simply disappears in 12 hours. Then not even direct API calls retrieve them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, @P_ No idea of what can be happening to you and can't reproduce it myself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.