Defect #6843
closedREST API Does Not Include Target Version
0%
Description
The REST API for issues does not include the target version of the issue. This is a surprising omission given that the XML returned for issues contains just about everything else available on the normal issues page.
Updated by Jean-Philippe Lang about 14 years ago
- Status changed from New to Closed
- Resolution set to Cant reproduce
In trunk and 1.0.1, the target version is present in /issues.xml and /issues/1.xml.
See:- source:/tags/1.0.1/app/views/issues/index.xml.builder#L13
- source:/tags/1.0.1/app/views/issues/show.xml.builder#L11
Note that the tag is omitted if target version is not set.
Updated by Jeremy Walker about 14 years ago
Ah sorry, my mistake (must have had some un-versioned records without realizing it).
Updated by Jeremy Walker about 14 years ago
Stupid question though: why is it called "fixed_version" in the API (even for issues with status New, which clearly aren't fixed), but "target version" (which makes much more sense universally) in normal Redmine?
Updated by Jean-Philippe Lang about 14 years ago
"Target version" is the new display name for this property, but it's still named fixed_version internally and thus in the API.