How can I access Out of Office Assistant plugin rule data from a groovy script?

We are using JIRA 5.2.11 with the Out of Office (OOO) Assistant plugin.

In a groovy script, I need to check if an OOO rule exists such that the current user is now acting as a Coverer for someone Out of Office.

The OOO rule data is stored in a custom table in the JIRA database (created by the plugin), but I am hoping the plugin provides an API to run a lookup on this data...but I cannot see it anywhere.  I looked through the jar but didn't see a method that would get me the data i need.

If there is no such method in the API, can I directly query the JIRA database for the information?

Thanks

 

2 answers

Hi Scott,

We are the developer for the OOO plugin.

Currently, there is no public API to run a lookup on the data.

You can directly query the JIRA database, but the data structure might change when newer features are added.

Hi all,

 

Would you get a notification to your personal email if you have this plug in added on? I know there will be a comment under a ticket that assignee is out of office. Does it also send a notification? 

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 ...

3,006 views 12 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