integration with other plugins

I see a problem with the time sheet gadget.

I installed "ictime" plugin that extends the work log form. So when I click on a blank entry on the gadget to add a log work for that date, it calls the extended form and I get an error on a missing parameter (I think that the form needs a mandatory parameter that the simple form doesn't).

The first lines of stack trace are:

java.lang.NumberFormatException: For input string: ""

Stack Trace: [hide]

java.lang.NumberFormatException: For input string: ""

at java.lang.NumberFormatException.forInputString(Unknown Source)

at java.lang.Integer.parseInt(Unknown Source)

at java.lang.Integer.parseInt(Unknown Source)

at de.iconcept.ictime.actions.timeentry.ExtendedCreateTimeEntry.doValidation(

at webwork.action.ActionSupport.validate(

at webwork.action.ActionSupport.execute(

at com.atlassian.jira.action.JiraActionSupport.execute(

What can I do to work around this problem?

Thank you

2 answers

1 accepted

0 votes
Accepted answer


We do not know the JIRA Timesheet Plugin, and we do not claim that ictime works with this plugin and vice versa (mostly people only use one time tracking tool at a time). We do not expect conflicts with ictime as long as another plugin only analyses JIRA data (ictime also writes normal JIRA work logs), but at the moment the other plugin offers an own way to log work or modify work logs, there might be problems (it is e.g. definitely not possible to use ictime and Tempo at the same time in a way that makes sense).

I will have a chat with one of the programmers within the next days and we will have a look if we can find a non-correct behaviour in ictime or if in fact the thing you want to do simply can't work. I will come back to you when I know more.

In the meantime it would help us to have a detailed description of what you are doing to reproduce your problem (screenshots? - as I told you, we really do not know the JIRA Timesheet Plugin and it's functionality). And please provide the complete stacktrace (you also might send this data to our support: see

Best regards


Hi Tobias,

From customer description it is obvous that timeLogged request parameter is missing for CreateWorkLog.jspa url from timesheet plugin. Is it possible to set some meaningful value to make it work?

Thank you.

UPDATE: the unhandled validation error is for the parameter "activity".

If I append activity=0 to the query string I get the form with correctly handled errors

Then if I use the form and submit a time log, I get an error 404 because a redirection to


I think that some other parameter i missing...

but the time is correctly logged

Hi Ariadne,

I checked the code and there are indeed some unhandled errors which occur due to the missing parameters when calling the CreateWorklog.jspa from some gadgets. Integration with other gadgets/plugins is always difficult, but I agree that the errors should be handled correctly. We will look into that.


As we had to do a bugfix release today anyway, we have addressed the unhandled exceptions, too. Just have a look at version 2.3.3. So you should no longer run into exceptions. However, parameters that are mandatory from an ictime point of view still need to be provided in order to create/edit a work log. Example: If you did not deactivate activity times in ictime, you won't be able to create a work log via the JIRA Timesheet Plugin within providing a valid activity type. Hope this helps.


thank you Tobias. I upgraded to 2.3.3 and it works. A last problem remains: the return url doesn't work.

the sequence is:

1) call the log form from the time sheet gadget

1b) the url called is for instance: http://HOST/secure/CreateWorklog.jspa?id=10474&startDate=04%2F02%2F2013+00%3A00&atl_token=XXXXX&returnUrl=http%3A%2F%2FHOST%2Fsecure%2FDashboard.jspa

2) the form is shown and you fill it

3) submit, then a redirection occur. the error is that the url is http://HOST/secure/$action.getCancelUrl() that obviously is missing

3b) the time is correctly logged

Have you any suggestion to work around this behaviour?


This is something we did not consider yet; looks like this can only solved by us. We will fix that with the next release (should be within the next 1-2 weeks).


Hi Tobias,

Thank you for the cooperation!

Hi Ariadne.

Once you know what the missing argument is, you can add it manually in code. See templates/timesheetgadget/timesheet-entry.vm, find CreateWorklog.jspa, and add a parameter to the end of the url.

Note, you can extract and update file with the following commands:

jar xf jira-timesheet-plugin.jar templates/timesheetgadget/timesheet-entry.vm
jar uf jira-timesheet-plugin.jar templates/timesheetgadget/timesheet-entry.vm

Hope it helps!

thank you for your suggestion!

now I hope that ictime people let me know which is the parameter ;)

UPDATE: I temporarly disabled the extension. I see that the problem is in timeLogged parameter.

But if I set the parameter the result is that the time is logged, non that the form is filled with defaults.

I think that the not-extended version works because the same error (on the fact that the parameter is null) is handled.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

442 views 8 26
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