TFS4Jira Self-hosted sync issue after restart of server

When the TFS4JIRA Self-Hosted server undergoes a restart for any reason, whether intentional or due to other factors, the user does not access the Synchronizer UI for 3-4 days or n days, in that case, issues synchronisation will only happen once the Synchronizer UI is opened if you desire automatic syncing upon server restart without the need to open the UI, as you have already enabled the App Pool StartMode to be set as AlwaysRunning.

Please follow the below steps:

  1. Download this *.bat file, which helps call the UI interface in the background when the server is started.

  2. Click on start > Task Scheduler > Create a Basic Task > Give a name Ex: TFS4Jira_AutoStart > click Next.

image-20240229-054616.png

  1. Click on “Create Basic Task” on the Right side panel.

  1. Trigger > When the computer starts > click Next

  1. Action > Start a Program > Click Next.

  1. Start a Program > Browse the script I added () > click Next > Finish.

  1. On the left side panel > Task Scheduler Library > In the center, double click TFS4Jira_Autostart > Select Run whether the user is logged in and click ok.

  1. A prompt asking for the Administrator Password will be shown, so please give your password and hit OK.

Conclusion: When the TFS4JIRA Self-Hosted server restarts, issue in synchronization will only occur untill the Synchronizer UI is opened manually by following above steps the task scheduler will do it when server get restarted.