anchor.diff:              Result      = httpRequest(BAuth, get, FullUrl),
               MapRes      = jsx:decode(Result, [return_maps]),
               WorkLogs    = maps:get(<<"worklogs">>, MapRes, []),
  -            WorkLogs2   = filterWorkLogs(WorkLogs),
  +            WorkLogs2   = filterWorkLogs(WorkLogs, State#state.jiraUser),
               LoggedWork  = ePluginInterface:getAllLoggedWorkDate(ETodo#etodo.uid),
               LoggedWork2 = calcWorkToLog(LoggedWork, WorkLogs2),
   
  
positive.code:     Seconds = seconds(Hours, Minutes),
      BinDate = list_to_binary(Date),
      case lists:keyfind(BinDate, 1, WorkLogs) of
          {BinDate, WL = #{timeSpentSeconds := TimeSpent,
                           active           := true}} ->
              case TimeSpent >= Seconds of
                  true ->
                      calcWorkToLog(Rest, WorkLogs,
  
negative.code: findKey([Char|Rest], Acc) ->
      findKey(Rest, [Char|Acc]).
  
  filterWorkLogs(WorkLogs, JiraUser) when is_list(WorkLogs) ->
      filterWorkLogs(WorkLogs, JiraUser, []).
  
  filterWorkLogs([], _JiraUser, Acc) ->
      lists:reverse(Acc);
  filterWorkLogs([#{<<"author">>           := #{<<"name">>        := Name,
                                               <<"emailAddress">> := Email},
                    <<"comment">>          := Comment,
                    <<"started">>          := LogTime,
                    <<"id">>               := Id,
                    <<"timeSpentSeconds">> := TimeSpent}|Rest], JiraUser, Acc)
      when (Name == JiraUser) ->
      <<LogDate:10/bytes, _/binary>> = LogTime,
      Acc2 = [{LogDate, #{name             => Name,
                          email            => Email,
                          comment          => Comment,
                          workLogId        => Id,
                          timeSpentSeconds => TimeSpent}}|Acc],
      filterWorkLogs(Rest, JiraUser, Acc2);
  filterWorkLogs([_WL|Rest], JiraUser, Acc) ->
      filterWorkLogs(Rest, JiraUser, Acc).
  
  calcWorkToLog(LoggedWork, WorkLogs) ->
      calcWorkToLog(LoggedWork, WorkLogs, []).
  