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:
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?
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.