Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Worklog deleted event

Laube Daniel January 18, 2024

Hello,

I need to be able to trigger function when worklog is deleted, but I found events only for event creation and edit, is there any event that could be cought something like avi:jira:deleted:worklog (tried that already but it seems not to do anything)?

I know that worklog deletion is logged in issue history, but I could not find event for that either.

Only workaround that I could think of is to forbid users from deleting worklog and force them to set it to zero and catch avi:jira:updated:worklog and delete it for them via rest.

Thank you for any suggestions.

Daniel

1 answer

0 votes
Trudy Claspill
Community Champion
January 21, 2024

Hello @Laube Daniel 

Welcome to the Atlassian community.

What type of function do you want to execute when a work log is deleted?

The Automation for Jira feature allows you to create Rules based on Triggers, apply conditions, and execute Actions. The Triggers include a Work Logged trigger that you can further refine to activate based on a new work log being created, one being edited, or one being deleted.

https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/

Laube Daniel January 22, 2024

Hello, thank you for response.

I want to set a variable using Storage API. Is it possible with this? If so, I will look again, because I only found rules that it will notify me via email when work log is deleted.

Trudy Claspill
Community Champion
January 22, 2024

There is a Send Web Request action. If you are using a REST API you can use that action to call it.

Laube Daniel January 22, 2024

Ok, I will try that, thank you.

Suggest an answer

Log in or Sign up to answer