RT 3.8.17 Documentation
RT::Ticket
- NAME
- SYNOPSIS
- DESCRIPTION
- METHODS
- Create PARAMHASH
- id
- EffectiveId
- SetEffectiveId VALUE
- Queue
- SetQueue VALUE
- QueueObj
- Type
- SetType VALUE
- IssueStatement
- SetIssueStatement VALUE
- Resolution
- SetResolution VALUE
- Owner
- SetOwner VALUE
- Subject
- SetSubject VALUE
- InitialPriority
- SetInitialPriority VALUE
- FinalPriority
- SetFinalPriority VALUE
- Priority
- SetPriority VALUE
- TimeEstimated
- SetTimeEstimated VALUE
- TimeWorked
- SetTimeWorked VALUE
- Status
- SetStatus VALUE
- TimeLeft
- SetTimeLeft VALUE
- Told
- SetTold VALUE
- Starts
- SetStarts VALUE
- Started
- SetStarted VALUE
- Due
- SetDue VALUE
- Resolved
- SetResolved VALUE
- LastUpdatedBy
- LastUpdated
- Creator
- Created
- Disabled
- SetDisabled VALUE
- SEE ALSO
NAME
RT::Ticket
SYNOPSIS
DESCRIPTION
METHODS
Create PARAMHASH
Create takes a hash of values and creates a row in the database:
int(11) 'EffectiveId'.
int(11) 'Queue'.
varchar(16) 'Type'.
int(11) 'IssueStatement'.
int(11) 'Resolution'.
int(11) 'Owner'.
varchar(200) 'Subject' defaults to '[no subject]'.
int(11) 'InitialPriority'.
int(11) 'FinalPriority'.
int(11) 'Priority'.
int(11) 'TimeEstimated'.
int(11) 'TimeWorked'.
varchar(10) 'Status'.
int(11) 'TimeLeft'.
datetime 'Told'.
datetime 'Starts'.
datetime 'Started'.
datetime 'Due'.
datetime 'Resolved'.
smallint(6) 'Disabled'.
id
Returns the current value of id. (In the database, id is stored as int(11).)
EffectiveId
Returns the current value of EffectiveId. (In the database, EffectiveId is stored as int(11).)
SetEffectiveId VALUE
Set EffectiveId to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, EffectiveId will be stored as a int(11).)
Queue
Returns the current value of Queue. (In the database, Queue is stored as int(11).)
SetQueue VALUE
Set Queue to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Queue will be stored as a int(11).)
QueueObj
Returns the Queue Object which has the id returned by Queue
Type
Returns the current value of Type. (In the database, Type is stored as varchar(16).)
SetType VALUE
Set Type to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Type will be stored as a varchar(16).)
IssueStatement
Returns the current value of IssueStatement. (In the database, IssueStatement is stored as int(11).)
SetIssueStatement VALUE
Set IssueStatement to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, IssueStatement will be stored as a int(11).)
Resolution
Returns the current value of Resolution. (In the database, Resolution is stored as int(11).)
SetResolution VALUE
Set Resolution to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Resolution will be stored as a int(11).)
Owner
Returns the current value of Owner. (In the database, Owner is stored as int(11).)
SetOwner VALUE
Set Owner to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Owner will be stored as a int(11).)
Subject
Returns the current value of Subject. (In the database, Subject is stored as varchar(200).)
SetSubject VALUE
Set Subject to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Subject will be stored as a varchar(200).)
InitialPriority
Returns the current value of InitialPriority. (In the database, InitialPriority is stored as int(11).)
SetInitialPriority VALUE
Set InitialPriority to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, InitialPriority will be stored as a int(11).)
FinalPriority
Returns the current value of FinalPriority. (In the database, FinalPriority is stored as int(11).)
SetFinalPriority VALUE
Set FinalPriority to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, FinalPriority will be stored as a int(11).)
Priority
Returns the current value of Priority. (In the database, Priority is stored as int(11).)
SetPriority VALUE
Set Priority to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Priority will be stored as a int(11).)
TimeEstimated
Returns the current value of TimeEstimated. (In the database, TimeEstimated is stored as int(11).)
SetTimeEstimated VALUE
Set TimeEstimated to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, TimeEstimated will be stored as a int(11).)
TimeWorked
Returns the current value of TimeWorked. (In the database, TimeWorked is stored as int(11).)
SetTimeWorked VALUE
Set TimeWorked to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, TimeWorked will be stored as a int(11).)
Status
Returns the current value of Status. (In the database, Status is stored as varchar(10).)
SetStatus VALUE
Set Status to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Status will be stored as a varchar(10).)
TimeLeft
Returns the current value of TimeLeft. (In the database, TimeLeft is stored as int(11).)
SetTimeLeft VALUE
Set TimeLeft to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, TimeLeft will be stored as a int(11).)
Told
Returns the current value of Told. (In the database, Told is stored as datetime.)
SetTold VALUE
Set Told to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Told will be stored as a datetime.)
Starts
Returns the current value of Starts. (In the database, Starts is stored as datetime.)
SetStarts VALUE
Set Starts to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Starts will be stored as a datetime.)
Started
Returns the current value of Started. (In the database, Started is stored as datetime.)
SetStarted VALUE
Set Started to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Started will be stored as a datetime.)
Due
Returns the current value of Due. (In the database, Due is stored as datetime.)
SetDue VALUE
Set Due to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Due will be stored as a datetime.)
Resolved
Returns the current value of Resolved. (In the database, Resolved is stored as datetime.)
SetResolved VALUE
Set Resolved to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Resolved will be stored as a datetime.)
LastUpdatedBy
Returns the current value of LastUpdatedBy. (In the database, LastUpdatedBy is stored as int(11).)
LastUpdated
Returns the current value of LastUpdated. (In the database, LastUpdated is stored as datetime.)
Creator
Returns the current value of Creator. (In the database, Creator is stored as int(11).)
Created
Returns the current value of Created. (In the database, Created is stored as datetime.)
Disabled
Returns the current value of Disabled. (In the database, Disabled is stored as smallint(6).)
SetDisabled VALUE
Set Disabled to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Disabled will be stored as a smallint(6).)
SEE ALSO
This class allows "overlay" methods to be placed into the following files _Overlay is for a System overlay by the original author, _Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.
These overlay files can contain new subs or subs to replace existing subs in this module.
Each of these files should begin with the line
no warnings qw(redefine);
so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
RT::Ticket_Overlay, RT::Ticket_Vendor, RT::Ticket_Local
← Back to index