Hi,
Is there any way to override jira service (eg. using AOP)?
I'd like to filter MailQueueItems inside MailQueue before MailQueueService starts to process it. It would be ideally to override MailQueueService.run() method - but probably it is not possible.
I've spent lots of time without any success. Please let me know how can I do it.
I can prepare scheduled job and check queue, but this solution is not good, because internal jira jobs runs as default once a minute, and there is a risk, that new elements appear on queue after my job finishes.
How it coul'd be done in jira plugin development?
Bart