Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to allow deletion of issues based on conditions

SWAPNIL SRIVASTAV
Contributor
April 3, 2020

 Is it possible to make allow deletion of issues based on conditions?

e.g. If the issue I am trying to delete is a subtask, so, is there any way to allow deletion for a particular project role only when the parent of that subtask is in 'Open' state? Or is any sort of scripting possible here?

This should be done only for a single issue type in a single project. For all other issues types in the same project, no user should be allowed to delete issues.

My understanding is that since Behavior scripts don't work on View Screen of issues, hence they cannot be used.

Also, Script Listener would be triggered after the Issue Deleted event is completed, hence that is also not possible

1 answer

0 votes
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 3, 2020

Search for Workflow based permission manager. 

You can use this to limit permissions per status on a particular workflow. 

SWAPNIL SRIVASTAV
Contributor
April 3, 2020

Hello @Steven F Behnke ,

Thank you for your reply.

I have checked the Workflow properties. Yes, they are helpful when we want to give to give the permission to a particular role/ group without any additional conditions.

But, I am looking for applying conditions on that as well. e.g. the permission to that particular role should be given if the value of a particular custom field is "Yes".

Suggest an answer

Log in or Sign up to answer