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
file is
Executable
Wow is it helpful when we spit out the issue number that failed to import
#!/bin/bash -e
go
build
echo
-n
"deleting project \"
${
1
}
\" ... "
curl
-X
DELETE
-H
"Authorization: Bearer
${
YOUTRACK_TOKEN
}
"
"
${
YOUTRACK_URL
}
rest/admin/project/
${
1
}
"
echo
"done."
time
./youtrack-import
--project-id
=
"
${
1
}
"
--project-name
=
"
${
2
}
"
trac
"
${
3
}
"
"--import-users=
${
4
}
"
-x
3000