Add jira status field sync
This commit is contained in:
parent
b629a93af4
commit
8732aee990
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ func (c *JiraClient) PublishNextTicket(cmp *model.Campaign, dryRun bool) (bool,
|
|||
ticket.JiraLink = fmt.Sprintf("%s/browse/%s", cmp.Jira.Url, issue.Key)
|
||||
ticket.Summary = issue.Fields.Summary
|
||||
ticket.Description = issue.Fields.Description
|
||||
// ToDo: sync JiraStatus
|
||||
ticket.JiraStatus = issue.Fields.Status.Name
|
||||
if err := campaign.Save(cmp); err != nil {
|
||||
return false, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue