Rally is a Go wrapper for the agile project management Rally. The documentation for the API is available here.
- Get Rally object
- Fetch references and query references
A token for the Rally API must be obtained via Rally. Access to Rally is required.
This wrapper does not support basic auth.
Install Rally using the go get
command:
go get github.com/thomasbs/rally
Getting a Rally object:
r := rally.New("rally_obtained_token")
var hr rally.HierarchicalRequirement
r.Get(&hr, "hierarchical_requirement_id")
All methods returns an error
on failure or nil
on success.
The objects are not fully populated with data, but contain references and query references that can be called if the relations of the object is required. A reference denotes a one-to-one relation, whereas a query reference denotes as one-to-many relation. Examples of the usage of references:
// hr is a fetched HierarchicalRequirement object
// Reference example
var b rally.Blocker
r.Fetch(&b, hr.BlockerReference)
// QueryReference example
var t rally.TaskQuery
r.QueryFetch(&t, hr.TasksQueryReference)
All is welcome to contribute to this project. Any improvements to the code are appreciated since I'm still a Go rookie.
This project is still under active development and any new features might already be partly finished - please message me before to coordinate.
Rally is available under the MIT License.