Fix linter
This commit is contained in:
parent
1b66405f39
commit
f5f721e6ef
1 changed files with 5 additions and 5 deletions
10
jira/jira.go
10
jira/jira.go
|
@ -1,9 +1,9 @@
|
||||||
package jira
|
package jira
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"bytes"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"bytes"
|
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"git.ctrlz.es/mgdelacroix/campaigner/model"
|
"git.ctrlz.es/mgdelacroix/campaigner/model"
|
||||||
|
@ -40,10 +40,10 @@ func (c *JiraClient) GetIssueFromTicket(ticket *model.Ticket, campaign *model.Ca
|
||||||
|
|
||||||
data := map[string]string{
|
data := map[string]string{
|
||||||
"Description": description,
|
"Description": description,
|
||||||
"Summary": summary,
|
"Summary": summary,
|
||||||
"Project": campaign.Project,
|
"Project": campaign.Project,
|
||||||
"Issue Type": "Story",
|
"Issue Type": "Story",
|
||||||
"Epic Link": campaign.Epic,
|
"Epic Link": campaign.Epic,
|
||||||
}
|
}
|
||||||
|
|
||||||
if team, ok := ticket.Data["team"]; ok {
|
if team, ok := ticket.Data["team"]; ok {
|
||||||
|
|
Loading…
Reference in a new issue