STATE_ACTIVE, STATE_CLOSED
ASSET_STATE_VALUE, ASSET_VALUE, CHANGE_DATE_UTC, CONTENT_TYPE_VALUE, CONTENT_VALUE, CREATE_DATE_UTC, DELETE_OPERATION, DESCRIPTION_VALUE, FILENAME_VALUE, NAME_VALUE
Modifier and Type | Method and Description |
---|---|
Task |
createTask(String name)
Create a task that belongs to this item.
|
Task |
createTask(String name,
Map<String,Object> attributes)
Create a task that belongs to this item.
|
Test |
createTest(String name)
Create a test that belongs to this item.
|
Test |
createTest(String name,
Map<String,Object> attributes)
Create a test that belongs to this item.
|
Collection<Defect> |
getAffectedByDefects() |
Collection<Issue> |
getBlockingIssues() |
Collection<BuildRun> |
getCompletedIn() |
Double |
getEstimate() |
Collection<Goal> |
getGoals() |
Collection<Issue> |
getIssues() |
Iteration |
getIteration() |
IListValueProperty |
getPriority() |
Rank<PrimaryWorkitem> |
getRankOrder() |
Collection<Request> |
getRequests() |
Collection<SecondaryWorkitem> |
getSecondaryWorkitems(SecondaryWorkitemFilter filter)
Collection of Tasks and Tests that belong to this primary workitem.
|
IListValueProperty |
getSource() |
IListValueProperty |
getStatus() |
Team |
getTeam() |
Theme |
getTheme() |
Double |
getTotalDetailEstimate(WorkitemFilter filter)
Gets the estimate of total effort required to implement this item.
|
Double |
getTotalDone(WorkitemFilter filter)
Gets the total effort already expended to implement this item.
|
Double |
getTotalToDo(WorkitemFilter filter)
Gets the total remaining effort required to complete implementation of
this item.
|
void |
setEstimate(Double estimate) |
void |
setIteration(Iteration iteration) |
void |
setTeam(Team team) |
void |
setTheme(Theme theme) |
canTrack, createEffort, createEffort, createEffort, createEffort, createEffort, getDetailEstimate, getDone, getEffortRecords, getOwners, getReference, getToDo, setDetailEstimate, setReference, setToDo
getDisplayID, getProject, setProject
canClose, canDelete, canReactivate, close, createAttachment, createAttachment, createConversation, createConversation, createLink, createLink, createNote, createNote, delete, getAttachments, getCustomDropdown, getCustomField, getDescription, getLinks, getMentionedInExpressions, getName, getNotes, getURL, isActive, isClosed, reactivate, setDescription, setName
equals, get, getChangeComment, getChangeDate, getChangedBy, getCreateComment, getCreateDate, getCreatedBy, getID, getInstance, hashCode, save, save, toString
public Team getTeam()
public void setTeam(Team team)
team
- The Team this item is assigned to.public Iteration getIteration()
public void setIteration(Iteration iteration)
iteration
- The Iteration this item is assigned to.public Theme getTheme()
public void setTheme(Theme theme)
theme
- The Theme this item is assigned to.public IListValueProperty getStatus()
public IListValueProperty getPriority()
public IListValueProperty getSource()
public Rank<PrimaryWorkitem> getRankOrder()
public Double getEstimate()
public void setEstimate(Double estimate)
estimate
- High-level estimate (in story points) of this item.public Collection<Goal> getGoals()
public Collection<Request> getRequests()
public Collection<Issue> getIssues()
public Collection<Issue> getBlockingIssues()
public Collection<Defect> getAffectedByDefects()
public Collection<BuildRun> getCompletedIn()
public Task createTask(String name)
name
- The name of the task.public Task createTask(String name, Map<String,Object> attributes)
name
- The name of the task.attributes
- additional attributes for task.public Test createTest(String name)
name
- The name of the test.public Test createTest(String name, Map<String,Object> attributes)
name
- The name of the test.attributes
- additional attributes for test.public Double getTotalDetailEstimate(WorkitemFilter filter)
filter
- filter for Workitems (If null, then all items returned).public Double getTotalDone(WorkitemFilter filter)
filter
- restriction for the work items which have to be counted. If
null, then all items counted.public Double getTotalToDo(WorkitemFilter filter)
filter
- restriction for the work items which have to be counted. If
null, then all items counted.public Collection<SecondaryWorkitem> getSecondaryWorkitems(SecondaryWorkitemFilter filter)
filter
- How to filter the secondary workitems. To get only Tasks,
pass a TaskFilter. To get only Tests, pass a TestFilter.Copyright © 2013 Version One, Inc.. All rights reserved.