When making a GET request to the Objectives/Milestones API 2.0 endpoint we see that some of the fields are not returned if no value is set.
For example, we see always see, in the JSON response, the field "featureIds" even if no features were associated with the Objective/Milestone.
This is not true for the "epicIds" field. It is only returned, in the JSON response, if there is at least one Epic specified in the Objective/Milestone.
According to the 'MilestoneDto', the 'EpicIds' should be part of the JSON response.
This is reproducible on Data Center: (yes)
- Create Portfolio Objectives and fill in all the required fields.
- Issue a GET call to the Objectives/Milestones API 2.0 endpoint
All the fields of the dto schema are output in the JSON response.
For example, the "epicIds" field is returned, in the JSON response
The "epicIds" field is not returned, in the JSON response, while the one for the "featureIds" is, as shown below:
Currently, there is no known workaround for this behavior. A workaround will be added here when available