Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Team Calendar appointment marking me as blocked on exchange

ThYpHo0n
May 6, 2013

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

2 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Marc-Antoine Carrier
April 24, 2023

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.

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
April 6, 2023

Hi @Marc-Antoine Carrier

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

Marc-Antoine Carrier
April 6, 2023

Thanks for your answer @Ram Kumar Aravindakshan _Adaptavist_ , I tried with 7.13.0 and the issue is still occuring.

Ram Kumar Aravindakshan _Adaptavist_
Community Champion
April 6, 2023

Hi @Marc-Antoine Carrier

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

Marc-Antoine Carrier
April 14, 2023

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

TAGS
AUG Leaders

Atlassian Community Events