MicroFocus / alm-octane-csharp-rest-sdk

Other
4 stars 6 forks source link

Add support for expanding reference fields #47

Open XtraSonic opened 3 years ago

XtraSonic commented 3 years ago

Previously requests which included the "fields" query parameter were made with .../api/shared_spaces/<space_id>/workspaces/<workspace_id>/defects?fields=author,release,phase,priority,team. Octane used to return more information about reference fields, but this functionality was changed. Now it only returns enough information to identify the reference field without additional information. Octane also added a way to query extra fields for reference fields using the following format .../api/shared_spaces/<space_id>/workspaces/<workspace_id>/defects?fields=author{name},release,phase{name},priority,team and we also need to support this feature in the sdk

radislavB commented 3 years ago

What methods in EntityService you need to use?