Merge "Refactor getIndexOfTask() to getTaskAttributesById()" into tm-qpr-dev