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.
}
Dear @arunk,
I don't know the details of your setup, but I guess that there is a proxy in front of Jira. The request you sent will cause high load to the whole system and it takes some time. The proxy has set some timeout when the request is terminated. This happens before Jira can answer. To get rid of this you can do either
So long
Thomas
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.