Forums

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

use workflow after deleting issue

Xavier
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.
September 17, 2018

Hi all,

is there a way to run a script after deleting an issue (by clicking on More -  Delete) ?

On workflow there is no transition after the last status which allow to do this ?

 

thanks in advance

regards

2 answers

1 accepted

2 votes
Answer accepted
Nic Brough -Adaptavist-
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.
September 17, 2018

Deletion is not part of workflow.  It's a separate action, one that should be used VERY rarely as it completely destroys ALL the issue information.  If it's part of your standard process, then your process is wrong.

To automate stuff as you delete, then you need to find or write a listener that can catch the "issue deleted" action and do what you want.

But be warned that the issue is deleted.  So your listener will not have much information to work with, because it has gone.

Xavier
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.
September 17, 2018

Hi Nic,

 

thanks for your reply, it was just for information.

 

regards

0 votes
Mohamed Benziane
Community Champion
September 17, 2018

Hi @Xavier

If a issue is deleted, you want launch a script right ? Why you don't set permission to disable for users the deleting permission ? Or it's ok if people delete issues ?

 

Regards

Xavier
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.
September 17, 2018

Hi @Mohamed Benziane

yes, I would like to run a insight post function to delete an associated object. Users that can delete issue are administrators, but this is just in case when we have to reassign an object.

 

regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events