IDEA-157507 Use "deploymentType" field in serverInfo to detect instances of JIRA... phpstorm/163.3351
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Mon, 22 Aug 2016 14:58:53 +0000 (17:58 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Fri, 26 Aug 2016 11:24:59 +0000 (14:24 +0300)
commit84e58932fffb0c435b2fc1974f11b1d4a8da573d
tree4616f38bf508bbd99f3d3317130a836721cf01d6
parent35e68aab1fcc634dc43d430a7a93ae330a189221
IDEA-157507 Use "deploymentType" field in serverInfo to detect instances of JIRA in Cloud

It seems that at the moments most of existing JIRA Cloud servers have
this parameter, but just in case I left the old heuristics as a
fallback. Also whether the server is an instance of Cloud is shown in
the editor settings next to the version to ease debugging.
plugins/tasks/tasks-core/jira/src/com/intellij/tasks/jira/JiraRepository.java
plugins/tasks/tasks-core/jira/src/com/intellij/tasks/jira/JiraRepositoryEditor.java