Skip to content

[$50] GET "/taas-teams/{{projectId}}/jobs/{{jobId}}" doesn't return more than 10 Job Candidates #550

Open
@maxceem

Description

@maxceem

Description

We have and endpoint GET /taas-teams/{{projectId}}/jobs/{{jobId}} which returns a Job with Job Candidates inside candidates property:

image

Though at the moment it doesn't return more than 10 Job Candidates even though there more Job Candidates associated.

Steps to reproduce

  • Use Postman
  • Create a job using Jobs -> create job candidate with booking manager
  • Create 1 Job Candidate using Job Candidates -> create job candidate with booking manager
  • Validate that this one Job Candidate is returned when using TaaS Teams -> GET /taas-teams/:id with booking manager
  • Now create 9 more Job Candidates using Job Candidates -> create job candidate with booking manager
  • Validate that all 10 Job Candidates are returned when using TaaS Teams -> GET /taas-teams/:id with booking manager
  • Now create 1 or 2 more Job Candidates using Job Candidates -> create job candidate with booking manager
  • Observer that TaaS Teams -> GET /taas-teams/:id with booking manager still returns only 10 Job Candidates

Task

  • Fix this issue so endpoint GET /taas-teams/{{projectId}}/jobs/{{jobId}} returns ALL associated Job Candidates
  • This should be fixed whether data come from ES or DB

Metadata

Metadata

Assignees

Labels

ACCEPTEDPAIDPaid manually without TCX

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions