-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
38 lines (33 loc) · 1.45 KB
/
config.py
File metadata and controls
38 lines (33 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- coding: utf-8 -*-
"""
jira2github.config
~~~~~~~~~
Configuration of Jira nad GitHub
:copyright: ahsky2@gmail.com
:license: GPL V3 license.
"""
JIRA_SERVER = 'http://yourdomain/jira'
JIRA_USER = 'admin'
JIRA_PASSWORD = 'admin'
JIRA_JQL = 'project = PRJ ORDER BY issue asc'
JIRA_ISSUE_LINK_BASE = 'http://yourdomain/jira/browse/'
GITHUB_USER = 'yourgithubid'
GITHUB_PASSWORD = 'yourgithubpassword'
GITHUB_ORGANIZATION = 'yourorganization'
GITHUB_REPO = 'yourrepository'
JIRA_ISSUE_TYPE_TO_GITHUB_ISSUE_LABEL = {'Epic': 'epic',
'Story': 'story',
'Task': 'task',
'Sub-task': 'Sub-task',
'Bug': 'bug'}
JIRA_ISSUE_STATUS_TO_GITHUB_ISSUE_LABEL = {'Backlog': None,
'To Do': 'ready',
'In Progress': 'in progress',
'Done': None}
JIRA_ISSUE_STATUS_TO_GITHUB_ISSUE_STATE = {'Backlog': 'open',
'To Do': 'open',
'In Progress': 'open',
'Done': 'close'}
JIRA_USER_TO_GITHUB_LOGIN = {'jirausername1': 'githubusername1',
'jirausername2': 'githubusername2',
'jirausername3': 'githubusername3'}