Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Creating a cumulative count graph of type of issues in Dashboard


Hello All,

Trying to create a cumulative graph of type of issues reported from 1 year. The count can vary based on type of issues and JQL Queries. 

I used the "JAVA Script Chart for Jira Cloud" for this graph.

However the Dataset field timeseries "None (sum of issues)" always return '0' even though the JQL query returns non-zero number of search values. 


I am also not able to get rid of "Error in JQL Query: The EQUALS operator does not support the use of the during (startOfDay(), endOfDay()) predicate."


The resultant graph is always zero,DataSet_for_Javascript_chart.pngJQLQueryResults.jpg

2 answers

1 accepted

5 votes
Answer accepted

Hello @Sanjay Nivrutti Yadav ,

Thanks for reaching out, and there is some additional context on the error in the configuration page when the "Time series Field" option is set to "None (sum of existing issues)" noting:

NB. The JQL query will be executed once per time period.
The appropriate " DURING (X,Y)" will replace any occurance
of $DURING in the query below, or if not found will be appended

Screen Shot 2021-03-19 at 2.03.28 PM.png

As indicated the JQL is automatically appending a "DURING ("date1","date2")" option to the end of your JQL search based on the time period selected on the other config pages, The during value is an optional predicate that appends to various operators, so you need to add in one of the following operators with a field clause:

  • WAS
  • WAS IN

So something like the following would work to give issue in the status "To Do" during the specified time period so the operators optional predicate can be attached

project = "OES ASIC_FPGA: Metrics2" and status was in ("To Do")

Additional details on the operators and the additional optional predicates can be seen in Advanced search reference - JQL operators.


Thank you. It works ! I ORed all the status in the query and it gives me the accumulated sum in desired order.

Like Earl McCutcheon likes this

Hello @Earl McCutcheon 

I am using the None option in the time series field and below query

project = XXX AND type = Bug and affectedVersion != "Development Version" and status was not in (Closed) DURING ("2017/01/01","2025/01/01")

The query result returns around 700+ records but the graph still continues to show 0. Please suggest what I am missing here

1 vote
yuliia_b_SaaSJet Marketplace Partner Mar 19, 2021


Hi @Sanjay Nivrutti Yadav 

You can try Dynamic Filters add-on (created by my team). It allows you to filter issues by the visual composer without JQL knowledge. 

Take a look at the example below.

1. Add options you need for your request to the Smart Fields: Знімок екрана 2021-03-19 124745.jpg

2. Create Dynamic Filter for the required project: Знімок екрана 2021-03-19 141659.jpg

3. Choose the selected Dynamic Filter to compose a Pie Chart Gadget on Jira Dashboard: Знімок екрана 2021-03-19 130557.jpg

Hope you find it helpful.


Thank you. This is also good approach.

However it gives status only at the end phase.

Was looking for incremental change in the % or counts over a period of time. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

483 views 16 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you