User Scripting User Scripting Code Samples Code Samples The following code samples are provided: Comparing Date Fields Validating Numeric Fields Requiring Minimum Values Creating Error Log Entries Sending email SOAP API — Prevent closing a project with an open issue SOAP API — Append notes to a project SOAP API — Require task assignment Submitting a Timesheet for Approval Outbound Calling — SOAP Call Using HTTPS POST Outbound Calling — Post a Slack Message Outbound Calling — HTTPS GET with Authorization See also Real World Use Cases.