@@ -130,4 +130,59 @@ public function deleteWorklog($issueIdOrKey, $workdlogId, $parameters = [])
130130 return $ this ->execute ('delete ' , "issue/ {$ issueIdOrKey }/worklog/ {$ workdlogId }" , $ parameters );
131131 }
132132
133+
134+ /**
135+ * Returns a list of IDs and update timestamps for worklogs updated after a date and time.
136+ *
137+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklogs/#api-rest-api-3-worklog-updated-get
138+ *
139+ * @param array|\Illuminate\Contracts\Support\Arrayable $parameters
140+ *
141+ * @return \GuzzleHttp\Psr7\Response
142+ * @throws \Atlassian\JiraRest\Exceptions\JiraClientException
143+ * @throws \Atlassian\JiraRest\Exceptions\JiraUnauthorizedException
144+ * @throws \GuzzleHttp\Exception\GuzzleException
145+ * @throws \TypeError
146+ */
147+ public function getUpdatedWorklogs ($ parameters = [])
148+ {
149+ return $ this ->execute ('get ' , "worklog/updated " , $ parameters );
150+ }
151+
152+
153+ /**
154+ * Returns the worklogs with all the information
155+ *
156+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklogs/#api-rest-api-3-worklog-updated-get
157+ *
158+ * @param array|\Illuminate\Contracts\Support\Arrayable $parameters
159+ *
160+ * @return \GuzzleHttp\Psr7\Response
161+ * @throws \Atlassian\JiraRest\Exceptions\JiraClientException
162+ * @throws \Atlassian\JiraRest\Exceptions\JiraUnauthorizedException
163+ * @throws \GuzzleHttp\Exception\GuzzleException
164+ * @throws \TypeError
165+ */
166+ public function getRealWorklogs ($ parameters = [])
167+ {
168+ return $ this ->execute ('post ' , "worklog/list " , $ parameters );
169+ }
170+
171+ /**
172+ * Returns the ids of all deleted worklogs
173+ *
174+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklogs/#api-rest-api-3-worklog-updated-get
175+ *
176+ * @param array|\Illuminate\Contracts\Support\Arrayable $parameters
177+ *
178+ * @return \GuzzleHttp\Psr7\Response
179+ * @throws \Atlassian\JiraRest\Exceptions\JiraClientException
180+ * @throws \Atlassian\JiraRest\Exceptions\JiraUnauthorizedException
181+ * @throws \GuzzleHttp\Exception\GuzzleException
182+ * @throws \TypeError
183+ */
184+ public function getDeletedWorklogs ($ parameters = [])
185+ {
186+ return $ this ->execute ('get ' , "worklog/deleted " , $ parameters );
187+ }
133188}
0 commit comments