Skip to content

[VSA] Support `label_name` instead of `label_id` for TasksByType service

Problem to solve

The Tasks by Type API endpoint for VSA currently supports filtering based on the tokens in the VSA filter bar, but the label filtering does not align with the filter bar.

The filter bar uses label_name for filtering while the endpoint uses label_id, this results in:

  • unnecessary work on the frontend when the page loads to extract the label_id for each label
  • issues with selecting multiple labels

Proposal

Edited by Ezekiel Kigbo