Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What is the best way to allow deletion only for Subtasks in the project?

Alex Sander July 4, 2024

I need to prevent deletion of issues im my project, allowing only Subtasks to be deleted. How can I do that?

1 answer

0 votes
Nicolas Grossi
Banned
July 4, 2024
Alex Sander July 4, 2024

Hi Nicolas, thanks.

Meanwhile, I'm trying one solution, hiding the Menu exclusion option in issues by ScriptRunner Fragment.

In the script condition I'm using the a simple code line:

return issue.getProjectObject().getKey() == 'MyProjectKey' && issue.isSubTask()

I don't know if it is the best solution., but aparently, it works fine.
The delete appaears only in the subtasks options.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events