JIRA - Log work not displayed in Time tracking

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

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

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,630 views 18 21
Read article

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