File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
tests/Unit/Api/IssueCategory Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010### Added
1111
1212- New method ` Redmine\Api\Group::listNames() ` for listing the ids and names of all groups.
13+ - New method ` Redmine\Api\IssueCategory::listNamesByProject() ` for listing the ids and names of all issue categories of a project.
1314
1415### Deprecated
1516
1617- ` Redmine\Api\Group::listing() ` is deprecated, use ` \Redmine\Api\Group::listNames() ` instead.
18+ - ` Redmine\Api\IssueCategory::listing() ` is deprecated, use ` \Redmine\Api\IssueCategory::listNamesByProject() ` instead.
1719
1820## [ v2.6.0] ( https://github.com/kbsali/php-redmine-api/compare/v2.5.0...v2.6.0 ) - 2024-03-25
1921
Original file line number Diff line number Diff line change @@ -63,16 +63,16 @@ public static function getListNamesByProjectData(): array
6363 <<<JSON
6464 {
6565 "issue_categories": [
66- {"id": 9 , "name": "IssueCategory 1 "},
66+ {"id": 7 , "name": "IssueCategory 3 "},
6767 {"id": 8, "name": "IssueCategory 2"},
68- {"id": 7 , "name": "IssueCategory 3 "}
68+ {"id": 9 , "name": "IssueCategory 1 "}
6969 ]
7070 }
7171 JSON ,
7272 [
73- 9 => "IssueCategory 1 " ,
74- 8 => "IssueCategory 2 " ,
7573 7 => "IssueCategory 3 " ,
74+ 8 => "IssueCategory 2 " ,
75+ 9 => "IssueCategory 1 " ,
7676 ],
7777 ],
7878 ];
You can’t perform that action at this time.
0 commit comments