CCRRTT000002301E No tasks found in scope XXX for repository YYY. Schema could not be generated. (ERR_NO_TASKS_FOR_SCHEMA)

Description

No tasks in the mapping’s scope could be found for schema generation. Schema generation requires that tasks which match the mapping’s scope are available. Ensure that the queries selected for the task mapping contain at least one task matching the mapping’s scope.

User Action

Ensure that there is at least one task in the mapping’s queries whose scope matches the mapping’s scope before refreshing the schema:

  1. Ensure that there are queries associated with the given mapping and create one if none exist.
  2. Ensure that the available queries are not empty. If they are empty, modify the query so that it matches at least one task from the repository.
  3. Ensure that the queries contain at least one task whose scope matches the mapping’s scope. If there is no such task modify the query to include one or create one which will fall into the query.
  4. If Tasktop Sync has recently been updated ensure that the relevant queries have been run since the update.
  5. Retry refreshing the schema once tasks are available for the given repository.