This issue has been created
There are 2 updates.
 
 
JIRA Components / cid:jira-generated-image-avatar-7d3d6b78-3961-4fa5-b6e3-88892decee07 JIRA-73 Open

CreatedVsResolvedChart don't work if filterId is set

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e983991f-bd23-422b-80a3-2c28be99380b Josué Tille created this issue on 07/Mar/25 15:57
 
Summary: CreatedVsResolvedChart don't work if filterId is set
Issue Type: cid:jira-generated-image-avatar-442f0b14-ce6e-4ab1-8c38-10ad29c594ae New Feature
Affects Versions: 10.1.1
Assignee: Unassigned
Components: Charts Macros
Created: 07/Mar/25 15:57
Priority: cid:jira-generated-image-static-major-ccfbfb02-9ef2-4c56-b9e0-f8f80d4cc680 Major
Reporter: Josué Tille
Description:

Set to reproduce:

Write a macro like this:

{{jiraCreatedVsResolvedChart id="Instance ID" filterId="62731" period="MONTHLY" daysPreviously="1500"/}}
 

Expected result: We see the chart

Currently: the macro crash here.

After analysing the error, the Jira server return a HTTP code 400 with this content

[ "JQL should not be null." ]
 
 

2 updates

 
cid:jira-generated-image-avatar-e983991f-bd23-422b-80a3-2c28be99380b Changes by Josué Tille on 07/Mar/25 15:59
 
Issue Type: New Feature Bug
Description: Set to reproduce:

Write a macro like this:
{code
:java }
{{jiraCreatedVsResolvedChart id="Instance ID" filterId="62731" period="MONTHLY" daysPreviously="1500"/}}
{code}

Expected result: We see the chart

Currently: the macro crash [here|https://github.com/xwiki-contrib/jira/blob/169d4d67405d15a46aac3caafbf2c448a9a8d83e/jira-macro/jira-macro-common/src/main/java/org/xwiki/contrib/jira/macro/internal/HTTPJIRAFetcher.java#L129].

After analysing the error, the Jira server return a HTTP code 400 with this content
{code
:java }
[ "JQL should not be null." ]
{code}