SonarQube cannot connect to JIRA 7 with REST API

亡梦爱人 提交于 2019-12-01 08:46:59

问题


I am trying to connect my SonarQube installation to JIRA 7.0.2 for issue linking. I have filled the configuration fields (Files attached), but I get the error, impossible to connect to JIRA server. Both JIRA and SonarQube are on the same server.


回答1:


The JIRA Plugin is not compatible with JIRA 7 or newer (does not support REST).

From SonarQube Wiki:

  • Jira 3.x supported by 1.0, 1.1, 1.2
  • Jira 4.x supported by 1.0, 1.1, 1.2
  • Jira 5.x supported by 1.0, 1.1, 1.2
  • Jira 6.x supported by 1.2

There is an issue about support REST API in tracking system.




回答2:


https://github.com/Miovision/sonar-jira. It's working with JIRA 7.0

Copy the jar file "SonarInstallation\extensions\plugins"

Don't forget to remove the old one. "1.2"



来源:https://stackoverflow.com/questions/33903497/sonarqube-cannot-connect-to-jira-7-with-rest-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!