I am trying to implement a JIRA report module. For this I am making use of the AbstractReport class which has generateReportHtml() method.
I have the following data that is being passed from java class to vm file:
Map<String, Object> velocityParams = new HashMap<String, Object>();
...
velocityParams.put("issueKey", issueKey);
velocityParams.put("userName", userName);
velocityParams.put("updateDate", updatedDate);
velocityParams.put("fromIssueType", fromIssueType);
velocityParams.put("toIssueType", toIssueType);
return descriptor.getHtml("view", velocityParams);
I want to display all the data through vm file
But I am unable to display multiple rows using foreach loop
Thanks in advance