Class TaigaUserStory

java.lang.Object
javiergs.tulip.taiga.TaigaUserStory

public class TaigaUserStory extends Object
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

    Constructors
    Constructor
    Description
    TaigaUserStory(long id, int ref, String subject, int status, Long milestoneId, long version)
    Creates a new Taiga user story representation.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the unique Taiga user story identifier.
    Returns the associated sprint/milestone identifier.
    int
    Returns the human-readable story reference number.
    int
    Returns the current workflow status identifier.
    Returns the story subject/title.
    long
    Returns the Taiga entity version.
    Returns a compact textual representation of the user story.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TaigaUserStory

      public TaigaUserStory(long id, int ref, String subject, int status, Long milestoneId, long version)
      Creates a new Taiga user story representation.
      Parameters:
      id - unique Taiga user story id
      ref - human-readable story reference number
      subject - story subject/title
      status - workflow status id
      milestoneId - associated sprint/milestone id; may be null
      version - 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

      public String getSubject()
      Returns the story subject/title.
      Returns:
      story subject
    • getStatusId

      public int getStatusId()
      Returns the current workflow status identifier.
      Returns:
      story status id
    • toString

      public String toString()
      Returns a compact textual representation of the user story.
      Overrides:
      toString in class Object
      Returns:
      string representation of the user story
    • getMilestoneId

      public Long getMilestoneId()
      Returns the associated sprint/milestone identifier.
      Returns:
      sprint/milestone id, or null if not assigned
    • getVersion

      public long getVersion()
      Returns the Taiga entity version.

      This value is required for some PATCH/update operations.

      Returns:
      entity version