Hey guys,
we want to use the team calendar in out team. We're having Thunderbird, iCal and Outlook used in our team, which works fine so far with an company exchange server.
One requirement is that if we add an appointment in the team calendar all people that are attending this appointment should be marked as blocked/away in the exchange server for that time. Is there any known way to get this done?
My thought was some kind of macro /synchronize between the team calendar and the exchange server...
For visibility, I created a ticket with the Adaptavist support and we ended figuring out what was happening. When you create a new Listener on Jira, all previously registered Listeners will first be un-registered (all of them) and then they will be re-registered with the newly created Listener. If an event occurs during the time gap between the un-registering and the re-registration of the Listeners, then this event will be "lost" because no Listeners were registered to listen to it.
This gap is usually very small and will probably not impact most use cases on a production instance. However, in my case, I was creating and deleting Listeners at the same time events were occurring on my local test instance. That is why I was missing events. According to my discussion with support, a good way to prevent that would be to synchronize the creation/deletion of Listeners and let the events occur when no operations are happening on the Listeners. I have been working on that for some time and it seems to be working so far.
Something to keep in mind: creating/updating and deleting Listeners are not thread-safe operations according to this ticket SRPLAT-1730. I have been implementing retries to circumvent that limitation and that has been working for me so far.
From your description, it appears you are using a pretty outdated version of ScriptRunner, i.e. 6.44.0.
It would be best to first upgrade your ScriptRunner plugin to the latest release, i.e. 7.13.0 and rerun your test to see if there is any improvement.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer @Ram Kumar Aravindakshan _Adaptavist_ , I tried with 7.13.0 and the issue is still occuring.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please try a basic test, i.e.
1. Disable all other listeners except for the one you are testing with. The same goes for post-function.
2. Go into Safe-Mode, only enable ScriptRunner and try to rerun the test to see if there is a difference.
If the issue persists, I suggest creating a ticket on our Product Support Portal so we can investigate further.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ram Kumar Aravindakshan _Adaptavist_ , sorry I took some time to reply back. The business logic tested here does require all the different Listeners to be present. It will be difficult to test #1 since all the scripts are working as expected by themselves.
I have opened a ticket with support. I'll post an update once I have more information
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.