Hi,
I have generated a report which will show Fix Version/s in X - axis but the list is not in chronological order how to do that using Customizer Script?
Any help would be appreciated.
Thanks in advance.
Hello @Teja
You have to customize the chart to have this feature, basically mention the "ordering" of the domain axis.
Please see here - http://www.arsenalesystems.com/docs/display/dataplane/Customizing+Charts+and+Data+Series
From the docs
In the following example, instead of ordering domain categories by default using the magnitude of the numeric result, issue types "Epic" and "Story" are moved to the top of the chart by explicitly specifying sort order:
customizeChart {
category<span> </span>
"Epic"
order<span> </span>
1
"Story"
2
"Bug"
3
"Technical task"
4
"Task"
5
"Feature Request"
6
"Documentation"
7
}
Since you are using "FixVersion" thus you can also use "regex" instead of actual hard-coded values.
Hi @Tarun Sapra,
I have been trying to find example using "regex" but could not able find any where.
customizeChart{
axis "domain" title "any text"
from the above script, I can able to change x -axis name but could able sort..
Do you know more examples on regex?
Thanks
Teju
category ANY order<span> </span>999 // set the default order of all categories to a max value <br> categoryRegex<span> </span>".*Task" order<span> </span>1 // then order all issue types whose name includes "Task" first<br>}customizeChart {
category ANY order<span> </span>
999
// set the default order of all categories to a max value
<br>
categoryRegex<span> </span>
".*Task"
// then order all issue types whose name includes "Task" first<br>
It looks like you're new here. Sign in or register to get started.