diff options
Diffstat (limited to 'bridge/jira')
-rw-r--r-- | bridge/jira/client.go | 4 | ||||
-rw-r--r-- | bridge/jira/import.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bridge/jira/client.go b/bridge/jira/client.go index 53dfad6e..95856f05 100644 --- a/bridge/jira/client.go +++ b/bridge/jira/client.go @@ -16,7 +16,7 @@ import ( "github.com/pkg/errors" - "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entities/common" ) var errDone = errors.New("Iteration Done") @@ -1230,7 +1230,7 @@ func (client *Client) UpdateComment(issueKeyOrID, commentID, body string) ( } // UpdateLabels changes labels for an issue -func (client *Client) UpdateLabels(issueKeyOrID string, added, removed []bug.Label) (time.Time, error) { +func (client *Client) UpdateLabels(issueKeyOrID string, added, removed []common.Label) (time.Time, error) { url := fmt.Sprintf( "%s/rest/api/2/issue/%s/", client.serverURL, issueKeyOrID) var responseTime time.Time diff --git a/bridge/jira/import.go b/bridge/jira/import.go index 0d7d1f1e..bd5a67d8 100644 --- a/bridge/jira/import.go +++ b/bridge/jira/import.go @@ -357,7 +357,7 @@ func getIndexDerivedID(jiraID string, idx int) string { return fmt.Sprintf("%s-%d", jiraID, idx) } -func labelSetsMatch(jiraSet []string, gitbugSet []bug.Label) bool { +func labelSetsMatch(jiraSet []string, gitbugSet []common.Label) bool { if len(jiraSet) != len(gitbugSet) { return false } |