예제 #1
0
        public ActionResult ReportBug(string Title)
        {
            JiraAuth jira = new JiraAuth();
            BugModel model = new BugModel(project, jira);

            return View(model);
        }
예제 #2
0
        public ActionResult ReportBug(BugModel model)
        {
            JiraAuth jira = new JiraAuth();
            Issue issue = jira.CreateIssue("Agile Scrum");
            issue.Description = model.Description;
            issue.Summary = model.Summary;
            issue.Reporter = model.Reporter;
            issue.SaveChanges();

            return RedirectToAction("Project");
        }