internal void ProcessWorklog(JiraIssue issue, string timeSpent, TimeEstimateRecalcualationMethod method, string newTimeEstimate) { var remoteWorklog = new RemoteWorklog(); remoteWorklog.comment = "Time logged"; remoteWorklog.timeSpent = timeSpent; remoteWorklog.startDate = DateTime.Now; switch (method) { case TimeEstimateRecalcualationMethod.AdjustAutomatically: _service.addWorklogAndAutoAdjustRemainingEstimate(_token, issue.DisplayId, remoteWorklog); break; case TimeEstimateRecalcualationMethod.DoNotChange: _service.addWorklogAndRetainRemainingEstimate(_token, issue.DisplayId, remoteWorklog); break; case TimeEstimateRecalcualationMethod.SetToNewValue: _service.addWorklogWithNewRemainingEstimate(_token, issue.DisplayId, remoteWorklog, newTimeEstimate); break; default: throw new ArgumentOutOfRangeException("ProcessWorklog"); } }
public void ProcessWorklog(string timeSpent, TimeEstimateRecalcualationMethod method, string newTimeEstimate) { }
public void ProcessWorklog(string timeSpent, TimeEstimateRecalcualationMethod method, string newTimeEstimate) { _connection.ProcessWorklog(this, timeSpent, method, newTimeEstimate); }
public void ProcessWorklog(string timeSpent, TimeEstimateRecalcualationMethod method, string newTimeEstimate) { Issue.ProcessWorklog(timeSpent, method, newTimeEstimate); }