grim/youtrack-import
Clone
Summary
Browse
Changes
Graph
Wow is it helpful when we spit out the issue number that failed to import
draft
2020-08-04, Gary Kramlich
6ec0d80db3e0
Parents
156cc34dc505
Children
45baf35db295
Wow is it helpful when we spit out the issue number that failed to import
1 files changed, 2 insertions(+), 1 deletions(-)
+2
-1
youtrack/xml.go
--- a/youtrack/xml.go Tue Aug 04 20:19:15 2020 -0500
+++ b/youtrack/xml.go Tue Aug 04 22:11:15 2020 -0500
@@ -100,7 +100,8 @@
for _, e := range item.Errors {
msg := fmt.Sprintf(
- "field: %q; value: %q: %s",
+ "issue %s field: %q; value: %q: %s",
+ item.ID,
e.FieldName,
e.Value,
e.Message,