aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/jira
Commit message (Collapse)AuthorAgeFilesLines
* repair after rebaseJosh Bialkowski2019-12-184-21/+19
|
* codereview #5: reverse-map and ImportWarningJosh Bialkowski2019-12-183-32/+68
| | | | | | | | | | | * Fix git config reader can't read values with spaces * Add bug-id-revmap config option for the reverse map, and use this in the importer * Add NewImportWarning for things that aren't exactly errors. Use this for unhandled changelog events. * Add NewExportWarning for things that aren't exactly errors. Use this for un-exportable status changes. * Strip newlines from titles on import
* codereview #4: fixes from testingJosh Bialkowski2019-12-182-9/+42
| | | | | | | | | | | * don't prefix imported title's with jira ID * fix import new comment due to wrong variable name * fix double import of comment edition due to improper err check * fix JIRA cloud paginated changelog has a different JSON field then the embedded changelog in the JIRA server issue object * fix splitting label strings yielded an empty string as a label value
* codreview #3: two credential types, more fixesJosh Bialkowski2019-12-184-59/+126
| | | | | | | | | * Support both token and session credential types * use getTimeDervedID in export.go * keyOrigin -> core.KeyOrigin * fix one indentation * remove project key from operation metadata * fix missing credentials codepath if not using sidecar
* codereview #2: some cleanup, correct use of nothing-eventsJosh Bialkowski2019-12-184-161/+131
| | | | | | | | | | | | | | | | * return error, don't panic * skipping status export is an error * use switch in config.go * move PromptPassword to input * move client construction into getIdentityClient * use non-pointer context throughout client since it is an interface * remove some TODOs * don't emit multiple nothing-events, just one per bug only if nothing happened. * rename EditBody to EditCreateComment * add configuration notes about additional values * store bug id map in a dictionary in the config * some fixes from testing
* codereview #1: clean lint from golangcibotJosh Bialkowski2019-12-184-20/+37
|
* Implement jira bridgeJosh Bialkowski2019-12-185-0/+2830