Can't get a milestone by name via the API

Bug #328518 reported by Björn Tillenius
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Curtis Hovey

Bug Description

When using the API, there should be a way of getting a Milestone by name when you have a project.

I have a project, and I know the name of the milestone I'm interested in for a project. The only way I can get to the actual Milestone object via the API is to loop over all the milestones and compare the name with each milestone. This is not very convenient.

Revision history for this message
Curtis Hovey (sinzui) wrote :

You cannot do this in the model either :/. I think we need to add this. There is a related request that came out of a UI review to get the current milestone or release, which cannot be done either.

Changed in launchpad-registry:
importance: Undecided → Low
status: New → Triaged
Curtis Hovey (sinzui)
Changed in launchpad-registry:
assignee: nobody → Curtis Hovey (sinzui)
milestone: none → 2.2.5
status: Triaged → In Progress
tags: added: story-series-milestones-releases
removed: feature
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixed in launchapd devel r8370.

Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Curtis Hovey (sinzui) wrote : Fix released

Fixed released in Launchpad 2.2.5.

Changed in launchpad-registry:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.