I have a requirement to display all the issues data between the given period of date (from and to). And i have used the servlet plugin
I have used getProjectObjects() method using ProjectManager and also used Issue Manager to get all the issues from all the projects and each issue will be checked with the given date values(issues created and updated date matched with given from and to date).
I am getting the expected results if individual projects are selected, but for ALL projects it goes to 504 bad gateway error.
The timeout is 65 seconds and within that the results are not computed, then goes to 504 Bad gateway.
project = projectManager.getProjectObjects();
for(Project project : projects){
List<Issue> issues = issueManager.getIssueObjects(issueManager.getIssueIdsForProject(project.getId()));
for (Issue issue : issues) {
// Get the Issue related details.
}