/// <summary>
 /// Adds a comment to an Issue
 /// </summary>
 /// <param name="issue">The <c>Issue</c> entity to which the comment will be added</param>
 /// <param name="comment">The text of the comment to be added</param>
 public void AddCommentToIssue(Issue issue, string comment) {
     try {
         IssueComment issueComment = new IssueComment(JiraConfigurationHelper.GetUserName(), DateTime.Now, comment);
         this.Provider.AddCommentToIssue(issue.Key, issueComment);
     }
     catch (Exception ex){
         ExceptionManager.PublishException(ex);
     }
 }
 /// <summary>
 /// Overloaded constructor that binds the components to the data to display
 /// </summary>
 /// <param name="comment">The <c>IssueComment</c> entity instance to display</param>
 public IssueCommentControl(IssueComment comment) : this() {
     this.lblAuthor.Text += comment.Author;
     this.lblAuthor.Text += "  Date: " + comment.Date.ToString();
     this.lblCommentText.Text = comment.Text;
 }
 /// <summary>
 /// Adds a comment to an Issue
 /// </summary>
 /// <param name="comment">The <c>RemoteComment</c> to add to the issue</param>
 /// <param name="issueKey">The key of the issue to which the comment will be added</param>
 public void AddCommentToIssue(string issueKey, IssueComment comment) {
     RemoteComment rc = new RemoteComment();
     rc.body = comment.Text;
     rc.timePerformed = comment.Date;
     rc.username = comment.Author;
     JiraSoapHelper.GetJiraSoapServiceProxy().addComment(this.AuthenticationToken, issueKey,rc);
 }