TCDSTrkCreateIssue
Return to Introduction  Previous page  Next page
This function can be used to create a new Issue.

Delphi (TrkIntf.pas)

function TrkCreateIssue( Handle, ProjectID: Cardinal; var NewID: Cardinal; IssueType: Integer; Description: String; CompleteBy: Integer ): Integer;  

Parameters

Name
Description
Handle
A valid Handle used to identify the User.
ProjectID
The ID for the project that the new Issue will be assigned to.
NewID
Returns the ID of the newly created Issue
IssueType
The type of Issue to create. See Also: Constants
Description
The text that describes the Issue
CompleteBy
The date (UTC format) that the Issue is to be completed by


Return Value

Err_OK if successful or an error code indicating the error.

Remarks

If you pass 0 to this function for the CompleteBy parameter, Tracker will assign a completeby date of tomorrow.

If the lease has expired for the handle, the function will fail and return
Err_UnknownUserOrLeaseExpired. 

Exported

function TCDSTrkCreateIssue( Handle, ProjectID: Cardinal; var NewID: Cardinal; IssueType: Integer; pDescription: PChar; CompleteBy: Integer ): Integer; stdcall;  


 


© 1995-2018 MCN Software