Plot a graph of ticket's field change history


This macro plots a graph of a ticket's field change history.

without arguments

  • Result for report or query, if used on report description.
  • Bound for milestone, if used on milestone description.
  • Your last query result. You're Feeling Lucky!
y-axis options
  • Use report parameter in query for field name to plot. ([13030])
    • default: status
  • Use format parameter in query for yaxis values.
    • slash / separated column name or * for wildcard.
    • two or more value can use in one, ie /new/assigned+accepted AS in progress/closed ([13031])
    • default: options for the field, ie new/assigned/accepted/closed/* for status.

Examples of how to use this macro:

[[StatusHistoryChart(format=new/accepted+assigned AS in progress/closed)]]
[[StatusHistoryChart(type=$TYPE&format=new/*/closed)]]  (uses CGI parameter for $TYPE)

The output might look as follows where the open source flot graphing library is used:

Bugs/Feature Requests

Existing bugs and feature requests for StatusHistoryChartMacro are here.

If you have any issues, create a new ticket.


1 / 1


3 / 3


Download the zipped source from here.


You can check out StatusHistoryChartMacro from here using Subversion, or browse the source with Trac.

Recent Changes

15087 by matobaa on 2015-11-30 23:41:09
StatusHistoryChart: fixes #12597
Now this macro can use two or more in a page
15061 by matobaa on 2015-11-18 14:58:56
StatusHistoryChartMacro: change a time axis to use a timezone of users. Popup tooltip shows changetime based on the timezone.
13114 by matobaa on 2013-05-13 16:14:38
StatusHistoryChartMacro: i18n on the query link


Author: matobaa
Maintainer: Matoba Akihiro

Last modified 5 weeks ago Last modified on Sep 22, 2016, 8:43:29 PM

Attachments (1)

Download all attachments as: .zip