This issue has been created
 
 
JIRA Components / cid:jira-generated-image-avatar-f70b9e8e-b66f-47c9-9845-e97f2539ba7d JIRA-74 Open

BiDimensionalGridChart don't work if filterId is not set

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-31f5fa03-d4ae-401a-9b70-dd17f4a66b3a Josué Tille created this issue on 07/Mar/25 15:59
 
Summary: BiDimensionalGridChart don't work if filterId is not set
Issue Type: cid:jira-generated-image-avatar-f70b9e8e-b66f-47c9-9845-e97f2539ba7d Bug
Affects Versions: 10.1.1
Assignee: Unassigned
Components: Charts Macros
Created: 07/Mar/25 15:59
Priority: cid:jira-generated-image-static-major-a6ea97db-2cc5-42fc-a46a-c1d7990cfe54 Major
Reporter: Josué Tille
Description:

Set to reproduce:

Write a macro like this:

{{jiraBiDimensionalGridChart id="Instance ID" query="project = ~"My project~" " yAxisField="assignees" numberOfResults="5" xAxisField="statuses" /}}
 

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

{
  "errorMessages" : [ ],
  "errors" : [ {
    "field" : "projectOrFilterId",
    "error" : "dashboard.item.error.required.query"
  } ]
}