ODBC guide

Create a worklog


Creates a single worklog on an issue. Supply TimeSpentInSeconds, Comment, and StartedAt, and identify the issue with IssueIdOrKey in WITH. Use OUTPUT=1 to return the created worklog.

INSERT INTO Worklogs(TimeSpentInSeconds, Comment, StartedAt)
      VALUES(7200,'My Comment!','2020-02-23T16:20:30.123+0000')
      WITH (IssueIdOrKey='ISSKEY-1', OUTPUT=1)