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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

289 views 3 11
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