Skip to content
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

Add projected completion date for epics #157

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

E70M
Copy link
Contributor

@E70M E70M commented Jul 21, 2022

Exposes the projected_completion attribute from the Pivotal API on the epic resource

Usage

client = TrackerApi::Client.new(token: token)
project = client.project(project_id)
epics = project.epics(fields: ":default,followers,projected_completion")
projected_completion = epics.first.projected_completion

Documentation

https://www.pivotaltracker.com/help/api/rest/v5#epic_resource

@codeclimate
Copy link

codeclimate bot commented Jul 21, 2022

Code Climate has analyzed commit 1d08a05 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 97.5% (0.0% change).

View more on Code Climate.

Copy link
Owner

@irphilli irphilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks!

@irphilli irphilli merged commit bab36ed into irphilli:master Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants