[JiraBT Cloud | Report a new issue] Timeout with GET /rest/api/3/project
Affected version: SquashTM 9.0.6 & bugtracker.jiracloud 9.0.3
Steps to reproduce
When reporting an issue, the first request is GET /rest/api/3/project.
The form fails to display with the following error:
java.net.SocketTimeoutException
The timeout of the Jira Java client used is 20 seconds.
To avoid this timeout, there are two possible options:
- Be able to configure this timeout and use the existing squashtm.bugtracker.timeout property
- Filter projects beforehand (currently, projects are filtered after all of them have been retrieved)
However, the API endpoint is deprecated:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-group-projects

perhaps this one should be used instead: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-search-get
Edited by Elise Lebouvier