File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,11 @@ func buildJiraOutput(sourceSettings *data.OutputSettings) *outputs.JiraAPI {
98
98
Summary : sourceSettings .Summary ,
99
99
}
100
100
if jiraApi .Issuetype == "" {
101
- jiraApi .Issuetype = IssueTypeDefault
101
+ if sourceSettings .Template == "vuls-jira-fr" {
102
+ jiraApi .Issuetype = FrenchIssueTypeDefault
103
+ } else {
104
+ jiraApi .Issuetype = IssueTypeDefault
105
+ }
102
106
}
103
107
if jiraApi .Priority == "" {
104
108
jiraApi .Priority = PriorityDefault
Original file line number Diff line number Diff line change @@ -27,8 +27,9 @@ import (
27
27
)
28
28
29
29
const (
30
- IssueTypeDefault = "Task"
31
- PriorityDefault = "High"
30
+ IssueTypeDefault = "Task"
31
+ FrenchIssueTypeDefault = "Tâche"
32
+ PriorityDefault = "High"
32
33
33
34
ServiceNowTableDefault = "incident"
34
35
AnonymizeReplacement = "<hidden>"
You can’t perform that action at this time.
0 commit comments