Example #1
0
 public JiraIssue(XmlElement xNode) : base(xNode)
 {
     mySummary  = xNode.GetText("Summary");
     myType     = xNode.GetText("Type");
     myProject  = xNode.GetText("Project");
     myPriority = xNode.GetText("Priority");
     myStatus   = JiraStatus.ToEnum(xNode.GetText("Status"));
 }
Example #2
0
 public JiraIssue(Issue issue) : base(issue.Key.ToString())
 {
     mySummary  = issue.Summary;
     myType     = issue.Type.Name;
     myProject  = issue.Project;
     myPriority = issue.Priority.Name;
     myStatus   = JiraStatus.ToEnum(issue.Status.Name);
 }