Kaamelot Timesheet

Name Kaamelot Timesheet
Version 0.2.3 (No more supported)
Product Versions JIRA 3.6.2
Author(s) Andriy Zhdanov, Vincent Thoulé
Homepage  
Price Free
License BSD
JavaDocs n/a
IssueTracking http://developer.atlassian.com/jira/browse/KAAM
Download JAR jira-plugin-kaamelot-timesheet-0.2.3.jar
Download Source https://svn.atlassian.com/svn/public/contrib/jira/jira-kaamelot-plugins/trunk/, jira-plugin-kaamelot-timesheet-0.2.3-sources.jar
Kaamelot Timesheet is no more supported. All modifications have been reported in the original plugin Timesheet report and portlet.
I should countinue to participate to its enhancement.

Description/Features

Kaamelot Fast Worklog provides extension, migration to JIRA 3.5 and correction of Timesheet report and portlet...

Thanks again to Andriy Zhdanov for its pretty plugin.
The enhancements done on it, are around the Portlet.

  • Migration to JIRA 3.5 and integration of JIRA Plugin enhancements around __downloadable_plugin_resource.
  • Extension by adding a configuration parameter for Nb. of Week summarized.
  • Correction arround Localised Date in Details HREF.

Installation

Copy the Plugin Jar jira-plugin-kaamelot-timesheet-0.2.3.jar into <jira_home>/WEB-INF/lib directory.

Usages

Timesheet Portlet

Configuration Screen

At configuration step, you have to specify :

  • The Nb. of Weeks to display in your Portlet.

Porlet in Dashboard

Now, it is possible to see more than 1 Week.

Version History

With Plugin Id com.fdu.jira.plugin

Ver. Contents Author
1.0 Initial Release Timesheet report and portlet Andriy Zhdanov
1.1 Released for JIRA 3.4.2 Jonathan Nolen

With Plugin Id jira.plugin.kaamelot.timesheet

Ver. Contents Author
0.1.0 New Release Vincent Thoulé
0.1.1 Fixing issues mentionned by Morgan Nilsson Vincent Thoulé
0.2.0 New Features Bug Fixing mentionned by Stuart Melville and Biswadeep Biswas Vincent Thoulé
0.2.1 New Release Vincent Thoulé
0.2.3 Maven 2 / Continuum integration Vincent Thoulé

Open Issues

n/a

Screenshots

Labels

plugin plugin Delete
codegeist codegeist Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Feb 23, 2006

    Morgan Nilsson says:

    Clicking on Details gives error. The form looks like: <form id="TimeSheetRepo...

    Clicking on Details gives error. The form looks like:
    <form id="TimeSheetReportForm" name="TimeSheetReportForm" action="" method="post">
    <input type="hidden" name="reportKey" value="com.fdu.jira.plugin:timesheetreport">
     I guess it should be "reportKey=jira.plugin.kaamelot.timesheet:timesheetreport"

    Another issue:

    when adding the portlet to my dashboard I get on the page "Edit Portlet: Time Sheet Summary":

    portlet.timesheet.numOfWeeks.label: ...
    portlet.timesheet.numOfWeeks.description

    instead of the correct text. 

  2. Feb 23, 2006

    Vincent Thoulé says:

    I saw the 1st error and some other, and have already corrected them localy, but ...

    I saw the 1st error and some other, and have already corrected them localy, but not yet uploaded. I encounter currently some trouble with Maven 2.0.2 with Site Plugin.
    I hope make a refresh this Week-End, with probably the 2nd one corrected.

  3. Feb 27, 2006

    Morgan Nilsson says:

    I just tried jira-plugin-kaamelot-timesheet-0.1.1.jar and it works fine. It solv...

    I just tried jira-plugin-kaamelot-timesheet-0.1.1.jar and it works fine. It solved both my issues. You might want to update this page to display the new version (installation, version history, etc). Thank you very much for quickly fixing the issues!

  4. Mar 01, 2006

    Biswadeep Biswas says:

     I just tried jira-plugin-kaamelot-timesheet-0.1.1.jar and it works fine. ...

     I just tried jira-plugin-kaamelot-timesheet-0.1.1.jar and it works fine.

    But in the Websphere log I can see the following warning -

    3/1/06 11:34:56:433 IST] 0000059c SystemOut     O 2006-03-01 11:34:56,433 WARN [velocity] Warning! The iterative  is an Iterator in the #foreach() loop at [0,0] in template templates/pivotreport/pivot-entry.vm. Because it's not resetable, if used in more than once, this may lead to unexpected results.

    Can you please explain this?  

    1. Mar 09, 2006

      Vincent Thoulé says:

      The Velocity message Warning! The iterative is an Iterator in the #foreach() l...

      The Velocity message

      Warning! The iterative  is an Iterator in the #foreach() loop at [0,0] in template XXXX.
      Because it's not resetable, if used in more than once, this may lead to unexpected results.
      occurs when the Template is using a reference to an iterator or enumeration, Java objet that can not be run through more than one time, and it is not the case in the mentionned template.

      Don't be afraid about it.
      Vincent

  5. Mar 01, 2006

    Stuart Melville says:

    I installed the previous version of the timesheet plugin today and got the same ...

    I installed the previous version of the timesheet plugin today and got the same issue as above using Tomcat.  So I guess it is not related to any changes made in this version.  I also got 2 other errors reported in the log shown below.

    2006-03-01 14:17:09,473 ERROR [velocity] Left side ($count) of modulus operation has null value. Operation not possible. templates/timesheetreport/timesheet-report.vm [line 15, column 30]

    2006-03-01 14:17:09,478 ERROR [velocity] Left side ( 2 ) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. templates/timesheetreport/timesheet-report.vm [line 15, column 35]

    2006-03-01 14:17:09,502 WARN [velocity] Warning! The iterative  is an Enumeration in the #foreach() loop at [0,0] in template templates/timesheetreport/timesheet-report.vm. Because it's not resetable, if used in more than once, this may lead to unexpected results.

    Can anyone help?

    1. Mar 09, 2006

      Vincent Thoulé says:

      Stuart, For the warning, see my answer to Biswas. Concerning the ERROR, It have...

      Stuart,

      For the warning, see my answer to Biswas.
      Concerning the ERROR, It have been corrected in the release 0.2.0.

      Vincent

  6. May 03, 2006

    Andriy Zhdanov says:

    Hi Vincent, We should join our committment on Kaamelot timesheet and Timesheet...

    Hi Vincent,

    We should join our committment on Kaamelot timesheet and Timesheet report and portlet into single project. What do you think?

    No need to have separate versions with the same functionality. Although, we can have branch for 3.4.x.

    Please let me know, if there is something that you want to have different than on my page (license, etc), we can change it easily

  7. May 17, 2006

    gregor beedie says:

    Hi Vincent, I've added the jar file and it works well. I tried the Timesheet re...

    Hi Vincent,

    I've added the jar file and it works well. I tried the Timesheet report and portlet by Andrew Zhdanov first but my Jira (3.6.1) wouldn't start.

    I do have a problem with Kaamelot timesheet. When I use the project pivot report and click on a user name on the report I get a NullPointerException whic beginsjava.lang.NullPointerException
    at com.atlassian.jira.web.action.browser.ConfigureReport.getReportModule(ConfigureReport.java:174)
    at com.atlassian.jira.web.action.browser.ConfigureReport.doValidation(ConfigureReport.java:91)
    at webwork.action.ActionSupport.validate(ActionSupport.java:373)
    at webwork.action.ActionSupport.execute(ActionSupport.java:150)

    Seems to be a problem between the username link's reportKey=com.fdu.etc and the project pivot report link's reortKey=jira.plugin.kaamelot.etc.

    Is this the problem and is there an easy way to fix it? 

    Also, does you timesheet supply the portlet or do I need to have the "Timesheet report and portlet by Andrew Zhdanov" installed first?

    Regards

     Gregor

    1. May 17, 2006

      Vincent Thoulé says:

      Gregor, In current release, I did not encounter any problem with JIRA 3.5.x. Fo...

      Gregor,

      In current release, I did not encounter any problem with JIRA 3.5.x.
      For release 3.6.x, I did not process test.

      Notice that you do not required to "Timesheet report and portlet" with "Kaamelot Timesheet".
      With Andrew, we are currently processing the merge of our two projects under Kaamelot Plugins.

      I am currently short in time due to office constraints, bu I hope we will able to provide a new release with JIRA 3.6.1 compliance.

      Rgds
      Vincent

      1. May 18, 2006

        Andriy Zhdanov says:

        Just tested both kaamelot (0.2.3) and fdu (1.3) on Jira 3.6.1 successfully.

        Just tested both kaamelot (0.2.3) and fdu (1.3) on Jira 3.6.1 successfully.

  8. May 17, 2006

    Sue says:

    Hi, I just installed Kaamelot Timesheet and it is working fine. I'm just wonder...

    Hi,

    I just installed Kaamelot Timesheet and it is working fine. I'm just wondering if there is a way for me to view the timesheet of user by projects instead of by the issues? The current timesheet shows the details of each project, but does not show the summary of it. I would like to view the time spent of each developer on different projects. With the Project Pivot Report, it is a must for me to select a project. Hence, i'm not able to view the report that i want. Is there a way to do this?

    Thanks & Regards,

    Sue.

  9. Jun 06, 2006

    Jorg Heymans says:

    The project pivot report seems to be generating bad image links. Is anyone else ...

    The project pivot report seems to be generating bad image links. Is anyone else seeing this ? (jira 3.6.1)
    Unable to render embedded object: File (pivot report - missing images) not found.

    1. Jun 06, 2006

      Vincent Thoulé says:

      Hi Jorg, I supposed that you are using IE ... When I take the initial sources o...

      Hi Jorg,

      I supposed that you are using IE ... When I take the initial sources of Timesheet, I have made some refactoring using standard JIRA Velocity Macro, and it appears that there was some trouble with these macro under IE.

      Andrew has reproduced my initial other modifications and then it wil better to use the original release of Timesheet report and portlet.

      Kaamelot Timesheet would be no more supported.

      Rgds
      Vincent

      1. Jun 06, 2006

        Mark Michaelis says:

        Hi, I think it might be a good idea to add an appropriate {note} at the top of ...

        Hi,

        I think it might be a good idea to add an appropriate {note} at the top of this Plugin Page to inform that this plugin is deprecated and Timesheet report and portlet should be used instead. What do you think?

        Regards
         Mark

        1. Jun 06, 2006

          Andriy Zhdanov says:

          Sure, but plugin is not deprecated, the timesheet part is going to be a separate...

          Sure, but plugin is not deprecated, the timesheet part is going to be a separate project. And the

          we'll be added as soon as it's done.

  10. Jun 20, 2006

    Charles Johnson Jr. says:

    I am looking at create a report that will capture the informaton displayed ...

    I am looking at create a report that will capture the informaton displayed in the "Timesheet report and portlet" 

    I would like to know what table this information is stored in.

    Thank you in advance.

    1. Jun 20, 2006

      Andriy Zhdanov says:

      This is the relevant part of code of "Timesheet report and porlet", hope this he...

      This is the relevant part of code of "Timesheet report and porlet", hope this helps:

              EntityExpr typeExpr = new EntityExpr("type", EntityOperator.EQUALS,
                      "worklog");
              EntityExpr startExpr = new EntityExpr("created",
                      EntityOperator.GREATER_THAN_EQUAL_TO, new Timestamp(
                              startDate.getTime()));
              EntityExpr endExpr = new EntityExpr("created",
                      EntityOperator.LESS_THAN, new Timestamp(endDate.getTime()));
              EntityExpr userExpr = new EntityExpr("author",
                      EntityOperator.EQUALS, targetUser.getName());
      
              List worklogs = CoreFactory.getGenericDelegator().findByAnd(
                      "Action",
                      UtilMisc.toList(typeExpr, startExpr, endExpr, userExpr));