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

This widget could not be displayed.

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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

193 views 1 3
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