Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

RuleService is deprecated


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

  • whether at least one rule with our trigger is setup and enabled
  • what is a creation datetime of the rule (the earliest one)

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:

  1. is there a guaranteed delivery of event to trigger? I will reformulate the question. Is it possible that some event can get lost?
  2. Jira DC: is there a guarantee that if an event is fired on one node, then it will be handled on the same node?


3 answers

1 accepted

0 votes
Answer accepted

Let it be.

1 vote
Daniel Ramotowski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 06, 2021

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.



Daniel Ramotowski

Thank you for your reply.

No, I still need RuleService.getRules() because of questions 1 and 2.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events