Groovy as Jira service run on Jira data center nodes

Hi All,

I need to set a groovy service that would send emails to users based on a criteria.

We have a Jira Data Center setup with multiple node.

Based on my analysis of scheduling groovy scripts as a Jira service i see that the groovy service runs only one one node per schedule.

But i would want to get it vetted from any experts out there to ensure that multiple emails are not sent due to service run on multiple nodes per schedule.

Thank you in advance.

-Parashar

2 answers

1 accepted

0 votes

Hi Parashar,

Scheduled tasks may be configured to run on one or all instances in the cluster. You can refer to Developing for high availability and clustering for all the juicy bits. 

I hope that this helps.

Cheers,
Moga

Sorry for missed update. We implemented the cluster locks (months ago) in the groovy to ensure it runs once per cluster as we did not want to take any chances of service running on multiple nodes.

Thanks.

You are welcome! Glad to know that you found the way! :)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,775 views 11 18
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot