Remove or exclude issue by reporter

Brad July 1, 2019

I know this can be accomplished by scriptrunner, but all my tests have failed. We want to have either issue delete or not created when the reporter equals a specific list. I've tried both Validator and Post Function on the 'Create Issue' transition. I thought either those would work with this script, but they are still coming in and the log doesn't show any failures:

 

2019-07-01_10-14-48.png

1 answer

0 votes
PD Sheehan
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.
July 1, 2019

Per the screenshot, it appears that you are using the post function built-in script "Fire an event when a condition is true".

Please understand that an EVENT is only a message that something took place, you can't initiate an action like this. 

What may be more effective in your case is to run a simple scripted validator instead.

This will cause the request to create the issue to fail.

2019-07-01 12_21_06-Add Workflow Function Parameters.png

Suggest an answer

Log in or Sign up to answer