Pivotal Tracker API Client written in Erlang
make && make shell
rr(ptrackerl).
ptrackerl:start().
ptrackerl:token("[email protected]", "yourpassword").
T = "YOUR TOKEN". % See token response
ptrackerl:set(token, T). % Set token for further requests
%
% PROJECTS
ptrackerl:projects(). % retrieve all projects
ptrackerl:projects("PROJECT_ID"). % retrieve project with id "PROJECT_ID"
Project = #project{name = "Project Name", point_scale = ["1","2","3"]}.
ptrackerl:projects({add, Project}).
ptrackerl:projects(remove, "PROJECT_ID").
%
% STORIES
ptrackerl:stories("PROJECT_ID", all).
ptrackerl:stories("PROJECT_ID", {find, "STORY_ID"}).
Story = #story{description = "My Description", story_type = "feature", name = "Story Name"}.
ptrackerl:stories("PROJECT_ID", {add, Story}).
- Get all projects
- Get all stories for each project for last months
- Get activity for each story:
- Check if story is accepted
- If accepted check who and when has delivered it