There are 2 comments.
 
 
JIRA Components / cid:jira-generated-image-avatar-47c23b3a-f178-4b99-951d-458679492d6d JIRA-64 Open

Display versions in created vs resolved charts

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-f6020fbc-b9bc-42fd-9114-9633e7577c18 Vincent Massol on 27/Jul/26 22:27
 

Code-grounded detail found while converting the JIRA documentation to the new xwiki.org tree, in case it helps whoever picks this up:* The data is already fetched. JIRACreatedVsResolvedDataFetcher sends includeVersions=true whenever displayVersion is not NONE, and the response is parsed into JIRACreatedVsResolvedVersionData.

  • What is missing is only the rendering step: JIRACreatedVsResolvedMacro:94 carries an explicit // TODO: handle displaying the versions, and the ChartJS converter never reads the parsed version data.
  • A second, smaller consequence: because only != NONE is tested, ONLY_MAJOR and ALL are currently indistinguishable - selecting either has exactly the same (no) effect.

The new documentation page for the Macro states the limitation rather than describing the parameter as working: https://www.xwiki.org/xwiki/bin/view/documentation/extensions/user/jira/display-chart/created-vs-resolved/

 
cid:jira-generated-image-avatar-f6020fbc-b9bc-42fd-9114-9633e7577c18 Vincent Massol on 27/Jul/26 22:31
 
Code\-grounded detail found while converting the JIRA documentation to the new xwiki.org tree, in case it helps whoever picks this up:
* The data is already fetched. {{JIRACreatedVsResolvedDataFetcher}} sends {{includeVersions=true}} whenever {{displayVersion}} is not {{NONE}}, and the response _is_ parsed into {{JIRACreatedVsResolvedVersionData}}.
* What is missing is only the rendering step: {{JIRACreatedVsResolvedMacro:94}} carries an explicit {{// TODO: handle displaying the versions}}, and the ChartJS converter never reads the parsed version data.
* A second, smaller consequence: because only {{\!= NONE}} is tested, {{ONLY\_MAJOR}} and {{ALL}} are currently *indistinguishable* \- selecting either has exactly the same \(no\) effect.

The new documentation page for the Macro states the limitation rather than describing the parameter as working: [https://www.xwiki.org/xwiki/bin/view/documentation/extensions/user/jira/display\-chart/created\-vs\-resolved/|https://www.xwiki.org/xwiki/bin/view/documentation/extensions/user/jira/display-chart/created-vs-resolved/]