Forums

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

Need help building an automation for deleting work item if a field value IS NOT a specific value

Christopher Carvalho September 17, 2025

Hi team!

I need help to build an automation with the following requirements:

If a dropdown/picklist field (such as assignee) has anything else but a specific value, that work item must be deleted;

Here is a screenshot of what I tried to build, but didn't work:

automation test.png

 

Am I missing something? The automation should delete the work item if the assignee field value changes OR has anything else rather than Christopher Carvalho.

However, after applying the automation, I'm changing the assignee of some work items back and forth but the automation won't trigger for them.

Any help?

2 answers

1 vote
Mikael Sandberg
Community Champion
September 17, 2025

The new conditions that you can add to the trigger may sometimes not work correctly due to a racetrack issue that Atlassian is working on. What you can try is to add the condition as its own component after the trigger and see if that works.

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2025

Hi @Christopher Carvalho 

First thing, I recommend not deleting work items.  There is no "undo", increasing the risk of deleting something accidentally.  Instead, consider removing the "delete permission" from everyone except Product Admins, and instead ask people transition items to Done (or Cancelled), with a Resolution of "Abandoned".  Then the work items can always be recovered...and periodically truly deleted by the admin during cleanups of old items.

Back to your question...

Work item assignment has its own event and trigger; it does not trigger an update event.  Please see the Work Item Assigned trigger to learn more.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events