Special Functions
Function
Signature
Meaning
Availability
Item
TrackerItemDto Item(Integer id)
Returns the tracker item with the specified id, e.g. Item(123456)
Codebeamer 9.3.0 and newer
Project
ProjectDto Project(Object idOrName)
Returns the project with the specified id or name, e.g. Project(1) is the project with id == 1, Project("Demo") is the project with name == "Demo"
Codebeamer 9.3.0 and newer
projects
List projects(Object... values)
Returns a list of projects according to the specified values. E.g. projects(choiceList[6]) returns all projects, that are referenced in the choiceList[6] of the current item. projects(6378, 1542, 21746) returns a list of the projects with the specified ids (or names).
Codebeamer 9.3.0 and newer
Tracker
TrackerDto Tracker(Object... idOrName)
Returns the tracker with the specified id or the tracker with the specified name in the specified project, e.g. Tracker(1234) is the tracker with id == 1234, Tracker(project, "Bugs") is the tracker with name == "Bugs" in the current project, Tracker(Project("Demo"), "Tasks") or short Tracker("Demo", "Tasks") is the "Tasks" tracker in the "Demo" project.
Codebeamer 9.3.0 and newer
trackers
List trackers(Object... values)
Returns a list of trackers according to the specified values. E.g. trackers(subjects.{subject|subject.choiceList[5]}) returns all trackers, that are referenced in the choiceList[5] of all subjects of the current item. trackers(project, "Bug", "Task") returns a list of all Bug and Task trackers in the current project. trackers(Project("Demo"), "Customer Requirement Specifications", "System Requirements Specifications") return a list with the Customer - and System Requirement Specifications trackers of the "Demo" project
Codebeamer 9.3.0 and newer
typeOf
String typeOf(Object object)
Returns the type of the specified object: ["User", "Group", "Role", "Project", "Tracker", "Item", "Option", "Object", "Array", "List", "Date", "number", "boolean", "string", "undefined"]
Codebeamer 9.3.0 and newer
Was this helpful?