BACKLOG-4239: Extract workInProgress script from server/site settings to be able to use it in another template