Hi all,
We develop a plugin for Jira Data Center (Git Plugin for Jira). We are developing own Automation for Jira triggers and managed to implement them following the instructions. Our triggers work. Great.
But we want to implement some internal performance optimization in order to prevent 10000 events pushed in a moment in vain. The next info would help us to decrease the event flooding
Unfortunately RuleService.getRules() throws UnsupportedOperationException. How can I get list of rules?
The only idea I have is to raise a dummy event to ourselves on plugin enable (or every 5 minutes), then grab ruleContext.getRuleConfigBean().created in MyEventTriggerRuleComponent.execute(). But here another questions appear:
Hi Irina,
Unfortunately RuleService is deprecated and not supported now. Regarding Your questions:
ad 1. Only runtime errors could cause event to be not delivered
ad 2. Third party triggers are poked asynchronously via automation queue (DB), so there is no warranty that node which raises the event will handle it.
Cheers
Daniel Ramotowski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I still need RuleService.getRules() because of questions 1 and 2.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.