aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/jira/import.go
Commit message (Collapse)AuthorAgeFilesLines
* Bridges: move credential loading and client creationAlexander Scharinger2021-04-081-25/+27
| | | | | | Gitlab and Jira bridge: move credential loading and client creation from `Init` to `ImportAll` in order to harmonize the behaviour of the different bridges.
* jira: tag bugs with the base URL, tighten the matchingMichael Muré2020-03-281-1/+11
|
* identity: bring back the login to hold that info from bridges (purely ↵Michael Muré2020-02-251-1/+2
| | | | informational)
* bridge: record the login used during the configure and use it as default ↵Michael Muré2020-02-231-2/+4
| | | | | | credential fix #338
* metaKeyJiraOperationId -> metaKeyJiraDerivedIdJosh Bialkowski2020-02-171-16/+16
|
* fix usage of newIdentityRawJosh Bialkowski2020-02-171-1/+1
|
* jira: rework to use the credential system + adapt to refactorsMichael Muré2020-02-151-54/+79
|
* jira: admittedly biased go stylingMichael Muré2020-02-091-57/+41
|
* Merge remote-tracking branch 'origin/master' into cheshirekow-jiraMichael Muré2020-02-091-1/+0
|
* repair after rebaseJosh Bialkowski2019-12-181-5/+6
|
* codereview #5: reverse-map and ImportWarningJosh Bialkowski2019-12-181-31/+66
| | | | | | | | | | | * 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-181-8/+29
| | | | | | | | | | | * 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-181-17/+7
| | | | | | | | | * 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-181-45/+32
| | | | | | | | | | | | | | | | * 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-181-9/+24
|
* Implement jira bridgeJosh Bialkowski2019-12-181-0/+598