Created Vs Resolved Gadget: Using it to look a fixed period of time.
Asked by Andrew Whittle:

I am able to add the "Created Vs Resolved" gadget to my Confluence wiki page and modify it with to use a specific filter which looks at issues raised during a named phase of testing on my current project. The phase in question is "regression". This is fine at the moment as we have just completed the regression phase and so the graph plots all issues as expected.

As part of the setup, you can specify the number of "days previous" - the graph as I understand works back from today to the number of days previous specified.

Let's say I set "days previous" to be 30 days, but I then go back to this graph 40 days after the close of the phase of testing that the filter applied to the graph uses. Would this mean that I see nothing on my graph?

How can I get the graph to look at the period in question - e.g. fix a date in time and the apply days previous to that date rather than "today"?

Thanks,

Andrew


Answers:
author: Andrey Khaneev _StiltSoft_
body: Created vs Resolved chart can be created using combination of Jira Issues macro, [Table Excerpt + Table Excerpt Include](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros?src=contextnavpagetreemode) macros, two [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro?src=contextnavpagetreemode) macros and [Chart from Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro?src=contextnavpagetreemode) macro. Those macros are coming from [Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/server/overview) add-on.

So you can get something like this:

![2017-12-05_10h29_57.png](https://community.atlassian.com/t5/image/serverpage/image-id/10420iB14ECFB32F3D45FA/image-size/large?v=v2&px=999 "2017-12-05_10h29_57.png")![2017-12-05_10h34_04.png](https://community.atlassian.com/t5/image/serverpage/image-id/10421i1F281080CBEC740B/image-size/large?v=v2&px=999 "2017-12-05_10h34_04.png")![2017-12-05_10h32_03.png](https://community.atlassian.com/t5/image/serverpage/image-id/10418iFB4B32B9A5B555E0/image-size/large?v=v2&px=999 "2017-12-05_10h32_03.png")

comments: author: Philip Schlesinger
body: Wow...complicated...I need to play with this...

So is the table excerpt:

```
(created >= [startDate] AND created <= [endDate]) OR (resolved >= [startDate] AND resolved <= [endDate])
```

?


author: Andrey Khaneev _StiltSoft_
body: Yes, in Jira Issues macro you can specify any JQL you need.

Table Excerpt Include works as a reference to Table Excerpt, so you do not need to copy Jira Issues macro.

In Pivot Table macros you need to specify [date format and date period](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro#HowtousePivottablemacro-AggregatingDataagainstTimePeriods) for aggregation. And choose Created and Resolved columns as row labels in these macros.

And in Chart from Table macro specify date format if you are going to create Time Line chart.


author: Artur Franczuk
body: is it possible to make it cumulative?


author: Danut M _StonikByte_
body: Hi [@Andrew Whittle](/t5/user/viewprofilepage/user-id/684350)

With our add-ons [Great Gadgets for Jira Server](https://marketplace.atlassian.com/apps/1218777/great-gadgets-for-jira-server?hosting=server&tab=overview) and [Great Gadgets for Jira Cloud](https://marketplace.atlassian.com/apps/1216564/great-gadgets-for-jira-cloud?hosting=cloud&tab=overview) you can have a Created vs Resolved chart on your dashboard that allows selecting a time range. On Jira Server the gadgets can be imported in Confluence.

In the 10 gadgets offered by the add-on, there is a Release Burndown / Burnup Chart gadget than can be easily configured as Created vs Resolved Chart. Just take a look at this example.

![CreatedVsResolved_No_Zero.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/83119i8C58F08D8E8EFE23/image-size/large?v=v2&px=999 "CreatedVsResolved_No_Zero.jpg")

Danut


author: Philip Schlesinger
body: Kelly's answer above pointed to JIRA. Andrew's question was regarding Confluence.

I have the same need as Andrew. Hence I've added a suggestion to Atlassian's Confluence Cloud issue list. Please vote it up: <https://jira.atlassian.com/browse/CONFCLOUD-58453>


author: Kelly Arrey
body: There were already at least 3 issues opened for this:

<https://jira.atlassian.com/browse/JRA-21401>

[https://jira.atlassian.com/browse/JRA-22067](https://jira.atlassian.com/browse/JRA-21401)

[https://jira.atlassian.com/browse/JRA-22068](https://jira.atlassian.com/browse/JRA-21401)

These have all been closed as won't fix.


author: Kerrin Hardy
body: I am also interested in this. I'd like the Created vs Resolved gadget timeframe to match the period of time the filter is set to. Is this possible with any of the in-built gadgets/reports?


author: Kerrin Hardy
body: I am also interested in this. I'd like the Created vs Resolved gadget timeframe to match the period of time the filter is set to.