Challenge Overview
Challenge Objectives
-
Target environment: Rally, VSCode Extension
-
Basic Requirements: PoC of tracking time of active working on VSCode automatically.���
Now Rally is renamed to CA Agile Central, but we still use Rally as the name in this specification.
Project Background
Our clients want to build a VSCode extension to connect the code editing workspace to a Rally workspace. This goal will enable developers a fast and easy way to manage their work items in Rally; specifically, the extension should be able to select product backlog items (PBI) to work on and update specific fields to help track the work in progress.
Technology Stack
-
VSCode extension SDK
-
Rally API
-
NodeJS
-
Angular 7
-
Typescript
Individual requirements
The backlogs and tasks on Rally have a field Actual/Actuals to store the actual working time on the task. The client wants to track the actual working time on VSCode side.
The “TASK ROLL-UP” time is the sum of the time in all the correlating tasks.
This PoC is for idea generation and a simple code PoC to track time.
The basic requirements are
-
Track the actual working time on the task. It can start with opening the backlog/task editor in the VSCode.
-
Just opening the editor doesn’t mean the user is actively working, we might need to hook into keyboard and mouse events of the computer to determine if the user is active or not. It’s open-minded for the “working” check.
-
Once tracking is finished, update the “Actual” field of the backlog,
-
Print the details of the tracking in the console log, including but not limited to
-
The start time of the tracking
-
The end time of the tracking
-
The active time
-
...
-
Tips
You can take the GitLab Time Tracking as a reference:
Rally also provides a CA Agile Central Time Tracker to track the active time, to know more details, see
Login Notes
-
If you don’t have a Rally account, you need to register it via this link. You might need to wait 24 hours - 48 hours to get the trial activation.
-
Login to your Rally workspace via https://rally1.rallydev.com/. Once you logged in, prepare some demo Backlogs for testing.
-
If you have any questions or feel anything is unclear, feel free to ask in the forum, don’t make assumptions without getting confirmation.
Codebase
Please work on the dev branch of https://gitlab.com/vscode-rally/vscode-rally
The target commit SHA is 43d66998505a8d84709b69ed11135d77855f1978
You can grant yourself access by the link provided in the forum.
Review
This challenge will be reviewed by copilot and (the PM/client) subjectively, there is no appeal and appeal response phase.
Final Submission Guidelines
Please submit the following items in a zip archive.
- The patch against the target repo and commit SHA. Please be sure to test your patch is valid.
- A detailed README.md to show how to deploy and run your extension in the VSCode.
- A detailed separate document to describe your way to track the time automatically, especially for how to determine the user is active. You are encouraged to put the related code as references.
- A video to verify your VSCode extension meets all requirements. If you are not comfortable with spoken English you may feel free to annotate your video with text.