Hi,
I preparing raport for my sale department. For now i put dimensions in row and this is quite OK. But my coworkers would like to have dimensions in columns. Problem is that, when i put dimension named Month of expected in column i get wrong results (look on screanshot).
Value 54000 should by only in column 2, rest should be empty. Is any way to crate raport like that:
| | 2019 |
| Q1 | Q2 | Q3 | Q4 |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| | | | | | | | | | | | |
| Issue 1 | 1234 | | | | | 1234 | | | | | | |
| Issue 2 | | | | | | | | | | | | |
| Issue 3 | | | 213 | | | | | | | | | |
Month of expected is advanced custom field crated with Javascript, here is a code.
[jira.customfield_month_of_expected]
name = "Month of Expected"
data_type = "integer"
dimension = true
javascript_code = '''
var month = new Date(Date.parse(issue.fields.customfield_10810)).getMonth();
issue.fields.customfield_month_of_expected = month + 1;
'''