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"