From cd889572f7870a62758240b323a9086a76c5120a Mon Sep 17 00:00:00 2001 From: Josh Bialkowski Date: Fri, 22 Nov 2019 22:34:19 -0800 Subject: codereview #2: some cleanup, correct use of nothing-events * 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 --- doc/jira_bridge.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc/jira_bridge.md') diff --git a/doc/jira_bridge.md b/doc/jira_bridge.md index 7c326aa0..3352d1b5 100644 --- a/doc/jira_bridge.md +++ b/doc/jira_bridge.md @@ -208,8 +208,7 @@ create-issue-gitbug-id = "customfield_5678" You can specify the mapping between `git-bug` status and JIRA status id's using the following: ``` -bug-open-id = 1 -bug-closed-id = 6 +bug-id-map = {"open": "1", "closed": "6"} ``` Note that in JIRA each different `issuetype` can have a different set of -- cgit