Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When updating local config file, some config gets lost #43

Closed
tagoro9 opened this issue May 16, 2017 · 0 comments · Fixed by #47
Closed

When updating local config file, some config gets lost #43

tagoro9 opened this issue May 16, 2017 · 0 comments · Fixed by #47

Comments

@tagoro9
Copy link
Owner

tagoro9 commented May 16, 2017

It happens with a local config file and a failed jira login with the global user / password. If there is a local config file with other config (i.e. github) it will get lost.

tagoro9 added a commit that referenced this issue Jun 15, 2017
* If the config file had info in a different path than the data being
updated if was removed.

Fixes #43.
tagoro9 added a commit that referenced this issue Jun 15, 2017
* fix(config): do not use empty object when updating local config file
* Now the issue types are fetched from Jira and stored in the config
file with a short name.  There are some defaults to match
the existing behavior (feature and story => f, task => c). In
any other cases, the first letter of the type is used for the short
name.
* Users can define the templates in the config file under jira =>
templates => branch. For now this is the data passed to those templates:
issue.shortName, issue.key and issue.sanitizedSummary. In order to
access them from the template, { and } must be used to interpolate.

Fixes #43, #38.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant