-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyoutrack_data_config.yml
114 lines (112 loc) · 2.46 KB
/
youtrack_data_config.yml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Convert YouTrack Issues into Jira Issues
# Pulls YouTrack Issue data in JSON format either from a local file or from the YouTrack API
# Converts Issues to Jira Format and applies user defined custom processing functions if additional modifications are necessary.
# Jira Issues are compatible with the System Admin version of their CSV import tool in Jira Cloud.
# Use:
# Configure settings in this file. Each configuration has inline documentation.
# For additional modifications to fields, add functions to custom_field_processing_functions.py
#
# Author: Micah Svenson
# Date Created: 4/25/22
#
# The short name of the project you want to export from YouTrack. This must be an exact match to the YouTrack project name
project_name: "EXAMPLE"
# The API url for the Youtrack instance
api_url: "https://example.myjetbrains.com/youtrack/api/"
# Flag to override preference for loading local data
prefer_api: False
# Flag to save attachments for all issues and comments on project
save_attachments: True
# Issue Id number to start importing from with the given project.
start_issue: 1
# Number of issues to retrieve starting from start_issue. A value of -1 means all issues will be retrieved.
num_issues_to_retrieve: -1
# path of youtrack api token
youtrack_token_path: "./.youtracktoken"
# directory path for loading and saving data
data_storage_path: "./data/"
# fields to retrieve from each YouTrack issue
# Note: It is strongly advised to only add new values to this list. Removing values may break the tool
issue_fields: >-
id,
idReadable,
summary,
description,
created,
updated,
reporter(
fullName,
email,
banned
),
updater(
fullName,
email,
banned
),
resolved,
comments(
text,
author(
fullName,
email,
banned
),
created
),
tags(
name
),
links(
direction,
linkType(
directed,
name,
sourceToTarget,
targetToSource
),
issues(
id,
idReadable
)
),
customFields(
name,
value(
name,
text,
minutes,
email,
banned
)
)
# Note: It is strongly advised to only add new values to this list. Removing values may break the tool
work_item_fields: >-
id,
author(
fullName,
email,
banned
),
creator(
fullName,
email,
banned
),
text,
type(
name
),
created,
updated,
duration(
minutes
),
date,
issue(
idReadable
),
attributes(
name,
value
)