Hello everybody,
I am working on a ScriptRunner listener script. This listener is executed on “Issue Created” event, and based on some search criteria it deletes duplicate issue (if any). This listener works fine in my dev cloud instance. In the project permission, I have allowed the reporter user to delete an issue. And the script is being executed as “Current User”.
However, in the production environment, we don’t want to allow reporter/customer to delete any issue. So, my question is, is there any way to allow “ScriptRunner Add-On user” to delete an issue of a specified project?
Thanks.