Skip to content

feat: add grandchild issue settings support#100

Merged
katayama8000 merged 2 commits into
masterfrom
feature/grandchild-issue-support
Jul 2, 2026
Merged

feat: add grandchild issue settings support#100
katayama8000 merged 2 commits into
masterfrom
feature/grandchild-issue-support

Conversation

@katayama8000

Copy link
Copy Markdown
Contributor

概要

TypeScript版の nulab/backlog-js#158 と同等の孫課題 (grandchild issue) 対応を backlog4j に追加します。

変更内容

エンティティ

  • ProjectisGrandchildIssueEnabled() を追加
  • IssuegetChildIssueSummary() を追加(新規 ChildIssueSummary interface / ChildIssueSummaryJSONImplgetTotal() / getClosed()
  • Issue.Expand enum(ChildIssueSummary("childIssueSummary"))を追加

パラメータ (Option)

  • GetIssuesParams / GetIssuesCountParamsParentChildType enum に新値を追加: GrandchildIssue(5), ChildIssue(6), ParentIssue(7), ExcludeGrandchild(8), ExcludeGrandparent(9), LeafIssue(10)
  • GetIssuesParamsexpand(List<Issue.Expand>)expand[]=childIssueSummary)を追加
  • 新規 GetIssueParamsexpand 対応)を追加
  • CreateProjectParams / UpdateProjectParams に fluent な grandchildIssueEnabled(boolean) を追加(既存コンストラクタは非破壊)

API メソッド

  • getIssue(Object issueIdOrKey, GetIssueParams params) オーバーロードを追加

テスト

  • Project / Issue の JSON fixture・テストに新フィールド検証を追加
  • expand と孫課題 ParentChildType の検証テスト、GetIssueParamsTest を追加

備考

TypeScript版にあった License の grandchildIssueEnabled は、backlog4j に License エンティティ / getLicence API 自体が存在しないため対象外としています。

🤖 Generated with Claude Code

katayama8000 and others added 2 commits July 2, 2026 11:19
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>
@katayama8000 katayama8000 requested review from Century-ss and mdkn July 2, 2026 02:25

@Century-ss Century-ss left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@katayama8000 katayama8000 merged commit c384893 into master Jul 2, 2026
1 check passed
@katayama8000 katayama8000 deleted the feature/grandchild-issue-support branch July 2, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants