•  
     
    story #6935 REST: be able to append a backlog item directly to a milestone
Summary
Empty
REST: be able to append a backlog item directly to a milestone
Empty
* appends a backlog item to a milestone

milestones/:id/backlog POST
Body:
{
"artifact" : {
"id" : 154
}
}

* checks that the artifact is of the correct type
* same artifact can be appended to multiple milestones (since possible in UI)

* needs a test
Description of backlog vs content in the Rest API
Laurent Delaigue (ldelaigue)
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#6935
dylan bowden (dylan)
2014-10-21 16:14
2014-05-23 16:36
3206

References

Follow-ups

User avatar
Manon Midy (mmidy)2014-10-21 16:14
  • I want to
    -REST: ba able to append a backlog item directly to a milestone 
    +REST: be able to append a backlog item directly to a milestone 
  • Permissions set to
  • Category set to
User avatar
I performed a few tests and it seems to work all right.

I'll continue with more complex scenarios later this week and keep you informed.
User avatar
Story merged in Tuleap 7.5.99.15

Laurent, if you can test it would be great.

  • Status changed from Request for integration to Done
User avatar
Hi Dylan,

This route should allow us to add items of the trackers listed in the /milestones/:id resource.

I don't think /milestones/:id/content and milestones/:id/backlog are upside-down, they provide what I expect. Maybe they're not named optimally but they provide the right service imho.

For instance, in a configuration where Releases can be assigned Epics from the top-planning, and display User Stories in their backlog, I want to be able to assign a newly created user story to a Release.

User avatar
dylan bowden (dylan)2014-09-22 17:18
It would seem that the curent routes are upside-down:

/milestone/:id/content and milestone/:id/backlog should have each-others items in them. This means I'm no-longer sure of what type of item can be added via this new route.

  • Status changed from Ready (stalled) to On going
  • CC list set to Laurent Delaigue (ldelaigue)
User avatar
dylan bowden (dylan)2014-05-23 17:14
  • I want to
    -REST: milestones/:id/backlog POST 
    +REST: ba able to append a backlog item directly to a milestone 
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes