pub async fn update_worklog(
configuration: &Configuration,
issue_id_or_key: &str,
id: &str,
worklog: Worklog,
notify_users: Option<bool>,
adjust_estimate: Option<&str>,
new_estimate: Option<&str>,
expand: Option<&str>,
override_editable_flag: Option<bool>,
) -> Result<Worklog, Error<UpdateWorklogError>>
Expand description
Updates a worklog. Time tracking must be enabled in Jira, otherwise this operation returns an error. For more information, see Configuring time tracking. This operation can be accessed anonymously. Permissions required: * Browse projects project permission for the project that the issue is in. * If issue-level security is configured, issue-level security permission to view the issue. * Edit all worklogs project permission to update any worklog or Edit own worklogs to update worklogs created by the user. * If the worklog has visibility restrictions, belongs to the group or has the role visibility is restricted to.