//END:addissues //START:assignissue public ProjectWorkflow AssignIssueToUser(string issueTitle, String user) { HomePage homePage = _codeTrack.GotoHomePage(); homePage.ProjectName = CurrentProject; IssuePage issuePage = homePage.ShowIssueWithTitle(issueTitle); IssueForm issueForm = issuePage.StartEdit(); issueForm.AssignTo(user); issueForm.Submit(); return(this); }
//END:property //START:addissues public ProjectWorkflow AddIssues(IList <Issue> issues) { foreach (var issue in issues) { IssueForm issueForm = _codeTrack.GotoNewIssueForm(); issueForm.ProjectName = CurrentProject; issueForm.Title = issue.Title; issueForm.Description = issue.Title; issueForm.Severity = issue.Severity; issueForm.Submit(); } return(this); }