aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/jira/export.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/jira/export.go')
-rw-r--r--bridge/jira/export.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/jira/export.go b/bridge/jira/export.go
index 8d8d326d..02ec5e14 100644
--- a/bridge/jira/export.go
+++ b/bridge/jira/export.go
@@ -171,7 +171,7 @@ func (self *jiraExporter) exportBug(
author := snapshot.Author
// skip bug if it was imported from some other bug system
- origin, ok := snapshot.GetCreateMetadata(keyOrigin)
+ origin, ok := snapshot.GetCreateMetadata(core.KeyOrigin)
if ok && origin != target {
out <- core.NewExportNothing(
b.Id(), fmt.Sprintf("issue tagged with origin: %s", origin))
@@ -342,7 +342,7 @@ func (self *jiraExporter) exportBug(
// so we use the comment ID plus the timestamp of the update, as
// reported by JIRA. Note that this must be consistent with the importer
// during ensureComment()
- id = fmt.Sprintf("%s-%d", comment.ID, comment.Updated.Unix())
+ id = getTimeDerivedID(comment.ID, comment.Updated)
}
case *bug.SetStatusOperation: