You can remove the permissions from "Delete" altogether and provide a dummy "Delete" issue operation (with the help of a plugin) that has an additional validation of worklogs. The new issue operation will not allow delete if the issue has worklogs.
Since the new 'Delete' behaves similar, except for the worklog validation, users will not be aware of any changes.
In the Project Permission scheme you can define who can and can not delete issues. Check this page and look for "Delete Issues":
All the best
I understand the permission feature in Tempo. We have made a policy decision to allow a user to delete an issue they created inadvertently. And allow only Tempo Project admins to delete other user's worklogs and only those in their project. This presents a risk of inadvertent deletion. We want to continue to allow this in order to not have to maintain groups and roles in a more granular fashion. Notwithstanding we would like to capture and stop inadvertent deletions globally and grammatically, not by project permission which is what we have in place now. Any insight on how to do it that way?
Nobe sorry don't know how to do it that way
Another solution (you probably know about also), is to make a policy decision to not allow regular users to delete issues and simply close the inadvertently created issues. We used this where I worked previously and it worked perfectly
But I understand it can be challenging to convince people to try a different way...
All the best
Matt, we do that now with permission schemes. Users can delete their issues, projects admins can delete only their projects issues. Issue security only limits who can see an issue. We need to retain our current permissions , but flag those issues with worklogs only at the time of attempted deletion: Not who can delete by group, or role, which requires management of the group, user and/or role.
Jobin, what plugin were you referring to? Groovy (Script Runner) or something else?
Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG