Please consider implementing the use case you are looking for using a LivePage.
Purpose:
- Do you want to see trend charts of open defects in your system?
- Do you want to see trend charts of tasks assigned to you?
This is where this macro might be helpful
Features:
- Wiki macro, which could be copied and used in any wiki page
- Enables you to very quickly compose a trend chart for created and/or resolved items in the last N-weeks
- Copy content of trendchart.txt in your wiki page
- Adjust configuraiton of the $lines variable definition
- Short documentation and an example of the macro are provided directly in the code
Example of use:
#set($undefined='######NULL')
#set($lines=[])
#set($return = $lines.add(["Critical", "type:defect AND severity:critical AND resolution:$undefined", "FF0000"]))
#set($return = $lines.add(["Normal", "type:defect AND severity:normal AND resolution:$undefined", "FF8800"]))
#set($return = $lines.add(["Minor", "type:defect AND severity:minor AND resolution:$undefined", "008888"]))
#set($return = $lines.add(["Trivial", "type:defect AND severity:trivial AND resolution:$undefined", "0088FF"]))
#wiQueryTrendChart("Defects by Severity" 800 500 $lines 4)