Removing the assignedToRole column

Because the Execute Query REST API has an auto column called assignedToRole, the API always returns a value for the auto column taskAssignedTo. A task can be assigned to a user or a team. To show the team assignment of a task, the taskAssignedTo column returns the assigned user or team. However, if your application requires the query to return the taskAssignedTo column only for tasks assigned to a specific user, you can remove the assignedToRole column by specifying a configuration option in the appropriate 100Custom.xml file in your topology.

Procedure

To remove the auto column assignedToRole, complete the following steps:

  1. In the appropriate 100Custom.xml file, add the following elements to the properties element:
    <server>
          <rest>
              <compatibility-no-auto-column-assigned-to-role merge="replace">{boolean value}</compatibility-no-auto-column-assigned-to-role>
          </rest>
    </server>
  2. Restart the server.