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?
my task is the following:
Could You help me in point 3?
No, it's too late in the process.
Events are fired when something happens. There's a built-in listener that picks them up and sends out notifications.
You have no way of knowing if your listener will react to an event before, during, or after another listener, and even if you could be sure it runs before the notification listener, events are not modifiable, so you wouldn't be able to do anything with it.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs