For the fields Close Date, Milestones, Closed By, Resolved, Resolution, Labels we need to identify their direct equivalents in the response returned by the OpenProject API’s work_packages endpoint.
In some cases, the value might be available directly in the work package endpoint API response. In other cases, we may need to retrieve it by calling the specific endpoint for a single work package, which returns more detailed information. Some values may even need to be calculated (if possible) by analyzing the existing response data or combining values from other fields.
Before making additional API calls solely to fetch these values, an analysis should be performed to determine:
- How each field can be obtained
- Whether it is relevant or present consistently in the data
- If it is worth fetching through extra requests