Release object
A Release object represents a release.
You get a Release reference from the ReleaseFactory object or from the Parent property of a Cycle object (Cycle.Parent).
Public methods
This object supports the following methods.
Method | Description |
---|---|
LockObject |
Locks the object. Returns True if the object has been changed on the server. For details, see LockObject. |
Gets a list of the node's immediate children. |
|
Post |
Posts all changed values into database. For details, see Post. |
Refresh |
Reads saved values, overwriting values in memory. For details, see Refresh. |
Undo |
Undoes changes to field values that have not been posted. For details, see Undo. |
UnlockObject |
Unlocks the object. Syntax: |
Public properties
This object supports the following properties.
Property | R/W | Type | Description |
---|---|---|---|
Attachments |
R | Object |
The AttachmentFactory object for the release. See AttachmentFactory object. Syntax: |
AutoPost |
R/W | Boolean |
If true, the database is updated immediately when the field value changes. Syntax: |
AutoUnlock |
R/W | Boolean |
Indicates whether to make the item changeable to other users automatically after a Refresh or Post. Syntax: |
CycleFactory | R | Object | The CycleFactory object for cycles of this release. See CycleFactory object. |
EndDate | R/W | Date |
The release's end date. Syntax: |
Field |
R/W | Any |
The value of the specified field. Syntax: Parameter:
|
FieldMultiValue |
R/W | Object |
The MultiValue object of the specified field. See MultiValue object. Syntax: Parameter:
|
HasAttachment |
R | Boolean |
Checks whether the release has one or more attachments. Syntax: |
HasMilestones | R | Boolean |
Checks whether the release has at least one milestone. Syntax: |
ID |
R | Number |
The item ID. Syntax: |
IsLocked |
R | Boolean |
Checks if defect is locked for editing. Syntax: IsLocked is set by the LockObject method and is reset by the UnlockObject method. If the object has an AutoUnlock property and the property is set to True, IsLocked is also reset by a Post or Refresh operation. |
Modified |
R | Boolean |
Checks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date. Syntax: |
Name | R/W | String |
The release's name. Syntax: |
Parent | R | Object |
The release's parent release folder. Syntax: |
StartDate | R/W | Date |
The release's start date. Syntax: |
TypeName |
R | String |
The field's type. Syntax: |
Virtual |
R | Boolean |
Checks if this is a virtual item, that is, an item that does not have a corresponding database record. Syntax: |