Hey,
We have some criteria for Filters to be deleted in our Jira Instance.
Could anyone help with Script in Scriptrunner for below?
We need to create a script that delete filters which fall under these criteria:
- filters to be deleted which are owned by inactive users, private and with fav count 0
- filters to be deleted which are owned by inactive users, private and with fav count 1
- filters to be cleaned up which have Owners that are inactive and Filters are not shared/not favorited by any User )
- private filters which is created by inactive users and Fav count <2.
- private filters which is created by inactive users and Fav count 2 & more.
or any idea is welcome.
Regards,
Anuradha