feat: add grandchild issue settings support#100
Merged
Conversation
TypeScript版 (nulab/backlog-js#158) と同等の孫課題対応を追加。 - Project に grandchildIssueEnabled を追加 - Issue に childIssueSummary (total/closed) と Expand enum を追加 - ParentChildType enum に GrandchildIssue 等の新値 (5-10) を追加 - GetIssuesParams/GetIssueParams に expand パラメータを追加 - Create/UpdateProjectParams に grandchildIssueEnabled を追加 - getIssue(issueIdOrKey, GetIssueParams) オーバーロードを追加 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…Params TypeScript版 (nulab/backlog-js#158) の POST/PATCH project テストに揃える。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
TypeScript版の nulab/backlog-js#158 と同等の孫課題 (grandchild issue) 対応を backlog4j に追加します。
変更内容
エンティティ
ProjectにisGrandchildIssueEnabled()を追加IssueにgetChildIssueSummary()を追加(新規ChildIssueSummaryinterface /ChildIssueSummaryJSONImpl、getTotal()/getClosed())Issue.Expandenum(ChildIssueSummary("childIssueSummary"))を追加パラメータ (Option)
GetIssuesParams/GetIssuesCountParamsのParentChildTypeenum に新値を追加:GrandchildIssue(5),ChildIssue(6),ParentIssue(7),ExcludeGrandchild(8),ExcludeGrandparent(9),LeafIssue(10)GetIssuesParamsにexpand(List<Issue.Expand>)(expand[]=childIssueSummary)を追加GetIssueParams(expand対応)を追加CreateProjectParams/UpdateProjectParamsに fluent なgrandchildIssueEnabled(boolean)を追加(既存コンストラクタは非破壊)API メソッド
getIssue(Object issueIdOrKey, GetIssueParams params)オーバーロードを追加テスト
expandと孫課題ParentChildTypeの検証テスト、GetIssueParamsTestを追加備考
TypeScript版にあった License の
grandchildIssueEnabledは、backlog4j に License エンティティ /getLicenceAPI 自体が存在しないため対象外としています。🤖 Generated with Claude Code