JIRA - Log work not displayed in Time tracking

Bahar Çağlar January 26, 2014

Hi,

I' m using JIRA 5.2.11, time tracking is turned on, permission schema is okey.

Users can log work as shown below.

But I cannot see it in time tracking.

What is wrong?

It happens in some projects, some times, with some users.

I cannot understand why.

I' ve controlled this with a groovy script also.

issue.getTimeSpent() returns 0 for this issue.

However, I get the timespent as 1 hour when I trace with worklog manager :

worklogManager.getByIssue(issue).each() { Worklog worklog -> 
                  def   author =  worklog.getAuthor() //admin
                  def   flag =  projectRoleManager.isUserInProjectRole(userManager.getUser(author), sgRole, project).toString()
                     if(flag == "true"){
                         if(worklog.getTimeSpent() != null)
                            totalRemaining += worklog.getTimeSpent()  
                     }
                    
                }

I mentioned this, maybe it helps to solve the problem.

Thanks for your helps.

1 answer

0 votes
Bjarni Thorbjornsson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2014

Hi Bahar,

Is the "Time tracking" field shown in the "Field configuration" scheme? Also check if the timetrackingmodule is enabled in the "View Issue Panels" system plugin.

-Bjarni

Bahar Çağlar January 26, 2014

I checked field config. scheme, it is enabled, also I checked plugin module.

It is also enabled.

Suggest an answer

Log in or Sign up to answer