-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathjira_river_configuration_default.json
62 lines (62 loc) · 2.78 KB
/
jira_river_configuration_default.json
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
{
"type" : "jira",
"jira" : {
"urlBase" : "",
"timeout" : "5s",
"maxIssuesPerRequest" : 50,
"indexUpdatePeriod" : "5m",
"indexFullUpdatePeriod" : "12h",
"maxIndexingThreads" : 1
},
"index" : {
"index" : "river_name",
"type" : "jira_issue",
"field_river_name" : "source",
"field_project_key" : "project_key",
"field_issue_key" : "issue_key",
"field_jira_url" : "document_url",
"fields" : {
"project_name" : {"jira_field" : "fields.project.name"},
"issue_type" : {"jira_field" : "fields.issuetype.name"},
"summary" : {"jira_field" : "fields.summary"},
"status" : {"jira_field" : "fields.status.name"},
"created" : {"jira_field" : "fields.created"},
"updated" : {"jira_field" : "fields.updated"},
"resolutiondate" : {"jira_field" : "fields.resolutiondate"},
"description" : {"jira_field" : "fields.description"},
"labels" : {"jira_field" : "fields.labels"},
"reporter" : {"jira_field" : "fields.reporter", "value_filter" : "user"},
"assignee" : {"jira_field" : "fields.assignee", "value_filter" : "user"},
"fix_versions" : {"jira_field" : "fields.fixVersions", "value_filter" : "name"},
"components" : {"jira_field" : "fields.components", "value_filter" : "name"}
},
"value_filters" : {
"user" : {
"name" : "username",
"emailAddress" : "email_address",
"displayName" : "display_name"
},
"name" : { "name" : "name" }
},
"comment_mode" : "embedded",
"comment_type" : "jira_issue_comment",
"field_comments" : "comments",
"comment_fields" : {
"comment_id" : {"jira_field" : "id"},
"comment_body" : {"jira_field" : "body"},
"comment_author" : {"jira_field" : "author", "value_filter" : "user"},
"comment_updater" : {"jira_field" : "updateAuthor", "value_filter" : "user"},
"comment_created" : {"jira_field" : "created"},
"comment_updated" : {"jira_field" : "updated"}
},
"changelog_mode" : "none",
"changelog_type" : "jira_issue_change",
"field_changelogs" : "changelogs",
"changelog_fields" : {
"change_id" : {"jira_field" : "id"},
"change_items" : {"jira_field" : "items"},
"change_author" : {"jira_field" : "author", "value_filter" : "user"},
"change_created" : {"jira_field" : "created"}
}
}
}