•  
      request #6909 GET milestones/:id/milestones - resource "milestones" is wrong
    Infos
    #6909
    Laurent Delaigue (ldelaigue)
    2014-09-19 14:36
    2014-05-20 17:24
    6944
    Details
    GET milestones/:id/milestones - resource "milestones" is wrong
    Get milestones/:id/milestones returns

    "resources": {
    "milestones": {
    "uri": "milestones/127/milestones",
    "accept": {
    "trackers": [
    {
    "id": 33,
    "uri": "trackers/33"
    }
    ]
    }
    }, ...

    But the trackers listed in the "accept" field are not what we expect. Currently, the returned trackers are thos of the current milestone, not those allowed for its sub-milestones. For instance, fo a release, the tracker returned is that of releases instead of sprints.
    Furthermore, this resource should be null or absent for milestones that cannot have sub-milestones (Sprints for instance, in usual configurations)
    API
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    dylan bowden (dylan)
    Closed
    2014-09-19
    Attachments
    References

    Follow-ups

    User avatar
    I have tested, and in all my configurations it's OK now, including those for which there was a problem before.
    Thanks for the fix!
    User avatar
    Merged in 7.5.99.2
    Laurent, can you give it a try ?

    • Status changed from Verified to Closed
    • Assigned to changed from None to dylan bowden (dylan)
    • Close date set to 2014-09-19
    User avatar
    Please note however that it works with other templates (like the one for tuleap project)...
    User avatar

    Verified with attached template:

    • Import template
    • Create a release
    • GET /milestones/:id
    • -> the release tracker is listed in "resources.milestones" while it should be sprints