public void UpdateJira() { if (this.WorkLog.TaskID.Length > 0 && this.Stop != MIN_DATE) { this.WorkLog = JiraInterface.UpdateWork(this.WorkLog, this.Start, this.Stop); this.Comments = this.WorkLog.Summary; } else if (this.WorkLog.TaskID.Length > 0) { this.WorkLog = JiraInterface.UpdateJiraInfo(this.WorkLog); } if (this.WorkLog.Summary.Trim().Length > 0) { this.Comments = this.WorkLog.Summary; } }