public Epic GetEpicByKey(String issueKey) { Issue epicIssue = _jira.Client.GetIssue(issueKey); epicIssue.SetJira(this.GetJira()); return(Epic.FromIssue(epicIssue)); }
public Epic GetEpic(String epicName) { Issue epicIssue = _jira.Client.GetEpicIssueFromProject(this.Name, epicName); epicIssue.SetJira(this.GetJira()); return(Epic.FromIssue(epicIssue)); }
/// <summary> /// Update issue /// </summary> /// <param name="fields"></param> /// <returns></returns> public Issue UpdateIssue(IssueFields fields) { fields.Project = this; Issue issue = GetJira().Client.UpdateIssue(fields); issue.SetJira(this.GetJira()); issue.Load(); return(issue); }
public Issue CreateIssue(IssueFields fields) { fields.Project = new Project() { ID = this.ID }; Issue issue = GetJira().Client.AddIssue(fields); issue.SetJira(this.GetJira()); issue.Load(); return(issue); }