Hi Daniel.
I feel this is quite confusing. I'll try to go over some of this, but advance apologies if this will still be confusing.
Milestones aren't included in a project. In fact, it is the project that is included in a milestone. The notion of 'inheritance' is inaccurate here because the projects don't include milestones. I believe what this documentation statement is trying to say is that Child Projects will automatically be assigned/included in a milestone that includes a project ancestor. This is just terminology though, it probably isn't too confusing yet.
You may want to check out
this post, where I mentioned the difference between TargetProject and Projects. It used to be the case that setting a TargetProject will be allowed, and will unset the 'Projects' field. However, that seems to have changed.
You can create/modify a milestone and set the 'TargetProject' field. You will get the deprecation warning, but yet, if you do that, you shall see that the 'Projects' field gets set with the project hierarchy underneath the project you targeted.
The confusion is that despite the deprecation warning and that inability to actually set the TargetProject field itself, you can use that field to drive the 'inheritance' you need on the Projects field.
I hope this helps. Let me know if that worked for you.
Sagi
Original Message:
Sent: 11-05-2019 06:16 PM
From: Daniel Burrow
Subject: Milestones: Child Projects NOT Automatically Inheriting from Parent
Greetings!
In the "Project Hierarchy Overview" section, of the "Set Up Your Teams" documentation, the assertion is made that, "Child projects automatically inherit all milestones of the parent project." See:Getting Started: Setup Rally: Setup Your Teams
This has not been my experience when creating a new Milestone. I first attempted to use the "TargetProject" (name) with my projectId (value) and received the following response:
{
"CreateResult": {
"_rallyAPIMajor": "2",
"_rallyAPIMinor": "0",
"Errors": [
"Not authorized to create: Milestone"
],
"Warnings": [
"Modification of the TargetProject property is deprecated. Use the Projects property to specify a list of projects instead."
]
}
}
When using the Projects syntax I am successfully creating the Milestone for the parent project but the child projects are NOT inheriting the milestone.
{
"Name": "Daniel Burrow Test",
"TargetDate": "2019-11-11",
"Projects": {
"_ref": "https://rally1.rallydev.com/slm/webservice/v2.0/project/123456"
},
"Workspace": {
"_ref": "https://rally1.rallydev.com/slm/webservice/v2.0/workspace/123456"
}
}
------------------------------
Dan Burrow
DevOps Engineer
Optum Global Solutions
------------------------------