• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sgerrand / ex_bamboo_hr / 36167665581
100%

Build:
DEFAULT BRANCH: main
Ran 25 Sep 2026 05:31PM UTC
Jobs 1
Files 18
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Sep 2026 05:31PM UTC coverage: 100.0%. Remained the same
36167665581

push

github

web-flow
feat(time-tracking): add the project and task endpoints (#116)

* feat(time-tracking): add the project and task endpoints

Clock and hour entries can reference a projectId and taskId, but there
was no way to discover or manage either through this client.

Adds projects and their tasks: list, create, get, update and delete for
both, with tasks listed per project. They stay in BambooHR.TimeTracking
rather than getting their own module, because they share its integer IDs
and page/pageSize paging — unlike breaks, which differ on both counts.

Two behaviours from the spec are worth knowing. Creating a project whose
name matches a deleted one restores and updates that project instead of
creating a new one, so the response can carry an ID you have seen
before. Listing tasks returns only active ones unless :statuses says
otherwise, and it is sent as repeated statuses[] parameters rather than
a comma-joined list.

Skips the legacy POST /time_tracking/projects, which the spec marks
deprecated in favour of the endpoint added here.

* docs(time-tracking): correct the project and task contracts

Four docstring claims did not match what the API does:

- create_project/2 said tasks could be created alongside the project,
  without saying they are left out of the response, so a caller
  reading task IDs off the 201 body gets nothing.
- Its "employeeIds" field needs numbers. Employee.list/2 returns IDs
  as strings, and passing those through returns a 422.
- update_project/3 listed "hasTasks" as a plain settable field, but
  setting it true on a project with no active task is a 422.
- list_project_tasks/3 documented the ["active"] default without
  saying a deletedAt predicate in :filter overrides it.

* docs(time-tracking): warn that create_project/2 may need OAuth

The spec gives create-time-tracking-project one security scheme, OAuth
with the time_tracking:project.write scope. Every other project and
task endpoint also lists basic auth, so an API-key client may get... (continued)

11 of 11 new or added lines in 1 file covered. (100.0%)

293 of 293 relevant lines covered (100.0%)

42.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36167665581.1 25 Sep 2026 05:31PM UTC 18
100.0
GitHub Action Run
Source Files on build 36167665581
  • Tree
  • List 18
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36167665581
  • e8f2d223 on github
  • Prev Build on main (#35434176119)
  • Next Build on main (#38648070757)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc