Skip to content

Instantly share code, notes, and snippets.

@dbenchi
Last active July 13, 2017 12:18
Show Gist options
  • Save dbenchi/868347a8d16cdef022706679a96738ed to your computer and use it in GitHub Desktop.
Save dbenchi/868347a8d16cdef022706679a96738ed to your computer and use it in GitHub Desktop.
// the base url to your GitLab
const GITLAB_URL = 'http://your-gitlab-url.com/';
// the project in gitlab that you are importing issues to
const GITLAB_PROJECT = 'namespaced/project/name';
// GitLab username and password used to login
const GITLAB_ACCOUNT = {
username,
password
};
/* this token will be used whenever the API is invoked and
* the jira's author of (the comment / attachment / issue) is not a gitlab user.
* So, this identity will be used instead.
* GITLAB_TOKEN is visisble in your account: https://ci.linagora.com/profile/account
*/
const GITLAB_TOKEN = 'get-this-token-from-your-profile';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment