Unable to produce any reports from ictime

I setup the configuration, make the project active, do not use teams or price lists. Added work logs to projects (ON.timesheet produces a report), specify a valid reporting period with all components, versions and activity types (whiche are defined and assigned to all projects), but no report data is fetched from the database.

Am I missing someting. Runing the latest version of Jira and installed the current version for ictime.

3 answers

There has been a bug in ictime version 2.3.2+ that caused reports and timesheets not delivering results when using Oracle, PostgreSQL or MS SQL databases for your JIRA installation. This should be fixed in ictime release 2.3.5 from yesterday late afternoon for Oracle and PostgreSQL, for MS SQL we need some more tests to be sure that the fix also solves the problem for MS SQL, but probably it already does. Are you using ictime 2.3.5, and if yes, which database are you using? If you are not using ictime 2.3.5 already, please update.

I am using Oracle database and have the newest version 2.3.5 of ictime installed. No results are produced. How can I check this issue. Is there a way to trace the sql statement ?

The report query still seems to have problems with the oracle database. We are aware of it and are currently working on a permanent fix. This is one example of a report query(the "w.*" usually comes in first place, but w.id is enough for testing):

SELECT DISTINCT
  -- w.*
  w.id
, p.id as projectId
,t.rounding_rule_id
, t.start_time
, t.end_time
, t.billed
, t.chargeable
, t.calc_time
, t.worklog_id
, t.project_id as timeEntryProjectId
, t.price_list_id
, at.name
, at.id as activityTypeId
, ex.excluded
, cu.value

from project p INNER JOIN jiraissue i on (p.id = i.project)

left outer join AO_9B23C2_PROJECT_STATUS s on ( p.id = s.project_id)
inner join worklog w on ( w.issueid = i.id )
left outer join AO_9B23C2_TIME_ENTRY t on ( t.worklog_id = w.id )
left outer join AO_9B23C2_ACTIVITY_TYPE at on ( at.id = t.activity_type_id )
left outer join AO_9B23C2_EXCLUDE_WORKLOG ex on ( ex.worklog_id = w.id )
left outer join AO_9B23C2_CURRENCY cu on ( cu.project_id = p.id )

where t.billed = 0
  and ( s.value is null or s.value = 0 or s.value = 1 )

Maybe you could try to run this query directly in your database and tell me if there are any errors. That would help us a lot for finding a quick solution.

We have released ictime version 2.3.6 today, this version has been specifically tested with Oracle (and MS SQL) and should now properly work. Please give it a try.

Sorry, was a bit to quick, 2.3.6 ist not yet available to the public because we still have some issues.

Version 2.3.7 that fixes all known issues for Oracle and MS SQL Server is avaiable now.

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 Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

175 views 0 4
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