It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to produce any reports from ictime

Andreas Mueller Mar 19, 2013

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

0 votes
Tobias Reibling Mar 19, 2013

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.

Andreas Mueller Mar 20, 2013

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 ?

0 votes
Tobias Reibling Mar 20, 2013

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.

0 votes
Tobias Reibling Mar 27, 2013

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.

Tobias Reibling Mar 28, 2013

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

Tobias Reibling Apr 07, 2013

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Marketplace Apps & Integrations

Demo Den Ep. 4: Continuous Integration with CircleCI & Jira Software

Get ready! Demo Den Episode 4 is coming your way on Tuesday, May 28, 2018 with a Continuous Integration and Delivery special demo. CircleCI Director of Solutions Engineering, Eddie Webb will show us ...

486 views 0 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you