Milestone
A milestone: a named, optionally dated bucket that issues and pull requests are grouped into.
Owned by this group per docs/LEDGER.md and consumed by pull requests, which embed the identical model.
The two counts are the reason a milestone is worth reading at all — a caller renders progress from them — and Forgejo maintains them itself, so they are Long rather than Option[Long]: an absent count is reported as 0, which is the same answer the instance gives for an empty milestone.
Value parameters
- closedIssueCount
-
how many issues in the milestone have been closed
- dueOn
-
the deadline the milestone was given, absent when it has none. Forgejo's
due_on, sent asnullwhen unset - id
-
the instance-wide identifier, and the only way to address a milestone
- openIssueCount
-
how many issues in the milestone are still open
- state
-
open, or closed together with when; see LifecycleState for why
closed_atis not a separate field - title
-
the milestone's name, verbatim. A plain
Stringrather than MilestoneTitle — see MilestoneTitle for why
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any