-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
複数選択カスタムフィールドで、mappingsが設定されていた場合に正しく動作しない問題対処 #10
- Loading branch information
Showing
6 changed files
with
112 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
...test/resources/com/github/onozaty/redmine/issue/loader/create-multiple_custom_fields.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"mode": "CREATE", | ||
"readmineUrl": "http://localhost", | ||
"apiKey": "apikey1234567890", | ||
"csvEncoding": "UTF-8", | ||
"fields": [ | ||
{ | ||
"headerName": "Project", | ||
"type": "PROJECT_ID", | ||
"mappings": { | ||
"プロジェクト1": 1, | ||
"プロジェクト2": 2 | ||
} | ||
}, | ||
{ | ||
"headerName": "Subject", | ||
"type": "SUBJECT" | ||
}, | ||
{ | ||
"headerName": "Field1", | ||
"type": "CUSTOM_FIELD", | ||
"customFieldId": 1, | ||
"multipleItemSeparator": ";", | ||
"mappings": { | ||
"A": 1, | ||
"B": 2, | ||
"C": 3 | ||
} | ||
}, | ||
{ | ||
"headerName": "Field2", | ||
"type": "CUSTOM_FIELD", | ||
"customFieldId": 2, | ||
"multipleItemSeparator": "\t" | ||
} | ||
] | ||
} |
4 changes: 4 additions & 0 deletions
4
src/test/resources/com/github/onozaty/redmine/issue/loader/issues-multiple_custom_fields.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Project,Subject,Field1,Field2 | ||
プロジェクト1,xxx,A;B,a b | ||
プロジェクト2,yyy,A,b | ||
プロジェクト1,zzz,, |