Commit 4e0e3321 authored by John Jarvis's avatar John Jarvis

Actually create the issue.

parent 5d3f0e8a
......@@ -55,9 +55,8 @@ func (r *Report) CreateReportIssue(title string) string {
// weeklyOpsGraphs := r.uploadGraphs(graphs)
weeklyOpsGraphs := []WeeklyOpsGraph{}
desc := r.generateTemplate(weeklyOpsGraphs)
// issue := r.Helpers.GitLab.CreateIssue(title, desc, r.Config.Projects.ReportProject.ID)
// return issue.WebURL
return desc
issue := r.Helpers.GitLab.CreateIssue(title, desc, r.Config.Projects.ReportProject.ID)
return issue.WebURL
}
// Generate an issue using a template
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment