Package javiergs.tulip.taiga
Class TaigaUserStory
java.lang.Object
javiergs.tulip.taiga.TaigaUserStory
Represents a Taiga user story.
User stories are agile planning elements used to describe functionality or requirements from the user perspective. Stories may belong to sprints/milestones and may contain multiple associated tasks.
- Version:
- 2026.05.27
-
Constructor Summary
ConstructorsConstructorDescriptionTaigaUserStory(long id, int ref, String subject, int status, Long milestoneId, long version) Creates a new Taiga user story representation. -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()Returns the unique Taiga user story identifier.Returns the associated sprint/milestone identifier.intgetRef()Returns the human-readable story reference number.intReturns the current workflow status identifier.Returns the story subject/title.longReturns the Taiga entity version.toString()Returns a compact textual representation of the user story.
-
Constructor Details
-
TaigaUserStory
Creates a new Taiga user story representation.- Parameters:
id- unique Taiga user story idref- human-readable story reference numbersubject- story subject/titlestatus- workflow status idmilestoneId- associated sprint/milestone id; may benullversion- Taiga entity version
-
-
Method Details
-
getId
public long getId()Returns the unique Taiga user story identifier.- Returns:
- story id
-
getRef
public int getRef()Returns the human-readable story reference number.- Returns:
- story reference number
-
getSubject
Returns the story subject/title.- Returns:
- story subject
-
getStatusId
public int getStatusId()Returns the current workflow status identifier.- Returns:
- story status id
-
toString
Returns a compact textual representation of the user story. -
getMilestoneId
Returns the associated sprint/milestone identifier.- Returns:
- sprint/milestone id, or
nullif not assigned
-
getVersion
public long getVersion()Returns the Taiga entity version.This value is required for some PATCH/update operations.
- Returns:
- entity version
-