Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
maxceem opened this issue Sep 13, 2021 · 4 comments
Assignees
Labels
ACCEPTED PAID Paid manually without TCX

Comments

@maxceem
Copy link
Contributor

maxceem commented Sep 13, 2021

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
@maxceem maxceem changed the title GET "/taas-teams/{{projectId}}/jobs/{{jobId}}" doesn't return more than 10 Job Candidates [$50] GET "/taas-teams/{{projectId}}/jobs/{{jobId}}" doesn't return more than 10 Job Candidates Sep 13, 2021
@maxceem
Copy link
Contributor Author

maxceem commented Sep 13, 2021

@yoution @xxcxy @eisbilir this task is open for pickup. Please, comment if you may solve it during 12 hours and I'll assign you.

Branch to work: dev.

@yoution
Copy link
Contributor

yoution commented Sep 13, 2021

@maxceem please assign to me

@maxceem
Copy link
Contributor Author

maxceem commented Sep 13, 2021

@yoution assigned

yoution added a commit to yoution/taas-apis that referenced this issue Sep 13, 2021
maxceem added a commit that referenced this issue Sep 13, 2021
@maxceem
Copy link
Contributor Author

maxceem commented Sep 13, 2021

@maxceem maxceem added the PAID Paid manually without TCX label Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ACCEPTED PAID Paid manually without TCX
Projects
None yet
Development

No branches or pull requests

2 participants