Worklog comment import


I want worklog comment in my report, how can i get it.
I tried below link, but it is giving only the first word of the worklog comment:

Could you please help


I’m having the same issue. If you solved this outside of the forum, please update with the solution. @martins.vanags do you have a modified script for this?

Hi @rohit

I just updated our documentation page.
Try this code in your advanced settings:

name = "Worklog Comment"
data_type = "string"
dimension = true
worklog = true
javascript_code = '''
if (worklog.comment) {
worklog.customfield_wlcomment = worklog.comment;
else {
  worklog.customfield_wlcomment = "(no comment)"

Since this field is already imported as dimension, I recommend unselecting it once for import and import data without it to reset advanced settings. Then it is safe to import data with field selected again.

Martins / eazyBI support

1 Like


Please check my last answer to @rohit

Martins / eazyBI support