-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathissues.yaml.example
More file actions
53 lines (53 loc) · 2 KB
/
issues.yaml.example
File metadata and controls
53 lines (53 loc) · 2 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
gitlab:
url: https://gitlab.example.com
# Jira to GitLab Issues/Epics Importer config. The following properties are migrated:
# - Title
# - Original Jira Issue URL
# - Checklist
# - Comments
# - Jira Account ids mentions converted to text names
# - Assignee
# - Priority as Label Priority::Value
# - Labels
# - Due Date
# - Created Date
# - Updated Date
# - Status
# - Parent as Epic
import_epics_from_jira
jira:
url: https://example.atlassian.net
user: admin@example.com
search_issues: 'project=DEVOPS&issuetype=epic' # jql to select issues of type epic to import
gitlab_group_path: example/devops # group path to migrate epics to
import_milestones_from_jira:
jira:
url: https://example.atlassian.net
user: admin@example.com
search_issues: 'project=DEVOPS&subTasksCount>1' # jql toselect issues to import as milestones
gitlab_project_path: example/devops # project path to migrate milestones to
import_issues_from_jira:
jira:
url: https://example.atlassian.net
user: admin@example.com
search_issues: 'project=DEVOPS&subTasksCount=0' # jql to select issues to import
#search_issues: 'project=DEVOPS&issue=DEVOPS-123' - example to try one issue migration
gitlab_group_path: example/devops # group path to search epics for to assign for issues
gitlab_project_path: example/devops/general # path of project to mirgate issues to
name_map: # Map Jira to GitLab users by name, only assignees for now, used as is if not found in map
Name1 Surname1: Name2 Surname2
label_map: # Map Jira to GitLab labels, used as is if not found in map
DevOps: DEVOPS
parent_to_epic_map: # Map Jira Parent to GitLab Epic Id
DEVOPS-302: 1
parent_to_milestone_map: # Map Jira Parent to GitLab Milestone Id
DEVOPS-304: 1
parent_to_none_map: # Skip adding Jira Parent (make standalone)
- DEVOPS-305
status_to_label_map: # Map Jira Status to GitLab Label
Backlog: Backlog
To Do: To Do
Doing: Doing
In Progress: Doing
skip_issues: # Skip migration of some issues
- DEVOPS-303