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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,147 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot