SonarQube connection to JIRA 7 - rest

Can some one please help me connecting to JIRA 7 in SonarQube JIRA plugin ?
After giving correct inputs for
server url, username, password, JIRA Project key
Its not working and show error as "Impossible to connect to the JIRA server ".
sonar log also does not show any error related to this.
SOAP base url in JIRA plugin setting in SonarQube is blank and also accessing http://{my jira url}/rpc/soap/jirasoapservice-v2 give 404 error.
even though its enabled in my JIRA 7.
In below SonarQube page, it seems its last update is in December related to version descriptions.
http://docs.sonarqube.org/display/PLUG/JIRA+Plugin#JIRAPlugin-Requirements
http://docs.sonarqube.org/pages/diffpagesbyversion.action?pageId=1442016&selectedPageVersions=101&selectedPageVersions=102
Searching on Google finding few post where it says
"The JIRA Plugin is not compatible with JIRA 7 or newer."
SonarQube cannot connect to JIRA 7 with REST API
"Jira SOAP API has been removed in Jira 7"
https://github.com/SonarSource/sonar-jira/issues/3
So please let me know if anyone khows how to connect to JIRA 7 in SonarQube JIRA plugin.
My SonarQube verion is 5.2 and also checked with 5.4.
SonarQUbe JIRA plugin version is 1.2.
My JIRA version is 7.2.0-OD-05-030.
Thanks,
Sandeep

You found out the answer already: Jira Plugin is not compatible with Jira 7. There is no workaround/fix, otherwise it would already be mentioned in the related GitHub issue.
Note that the underlying functionality of linking SonarQube issues to 3rd-party ticketing systems is being dropped altogether (SONAR-6717). Equivalent grouping/planning of issues can be done using tags and filters, see this blog post for more details.

Related

How to view Jira Issues in VS CODE

I have added company Jira Site to VS code. I am able to open issues using Jira Number. But I want to see all the Jira Issues using JQL. How do I view all the Jira Issues.
Official Plugin from Atlassian
When using the plugin from Visual Studio Marketplace: Jira and Bitbucket (Atlassian Labs), you can use the JIRA issues explorer:
Jira Software issues in VS Code
The Jira issue explorer displays all open issues, or you can customize the query using JQL.
See also:
Jira Software and Bitbucket in VS Code - Work Life by Atlassian
atlassianlabs / atlascode / issues / #692 - Imported filter and custom JQL return no results but show results in Jira — Bitbucket
Other plugins
Or you can use the plugin Jira Issues:
Custom filtering
By default you will see issues assigned to you that have not yet been resolved but you can provide your own JQL (Jira Query Language) expression to filter issues exactly the way you want.
jira.jqlExpression

SonarQube 5.6.6: Error OWASP ZAP & Dependency Check Plugin

While setting up the dashboard widgets on SonarQube 5.6.6 to display results from OWASP Dependency Check & ZAP and Xanitizer I encounter the following error message:
An error occurred while trying to display the widget "xanitizer". Please contact the administrator.
I have SonarQube running on a Windows 2008 Server R2 as a test instance.
What I did so far:
Installed the relevant plugins
Configured the plugin POM file with Windows paths (like: C:\Program Files (x86)\Jenkins\workspace\ZAP-Scanning\reports)
Created a reports either by a Jenkins job (for OWASP stuff) or by Xanitizer app.
Pointed SonarQube to the absolute path of Xanitizer report file in SonarQube GIU
Created each a SonarQube project manually
Linked the projects to the corresponding widget
The result is always the error message you can find above.
As a workaround I contacted Steve Springet directly. He pointed me to some GitHub pages, which did not help.
As I am not a developer: Is there any tutorial that might help?
Implementing Checkmarx plugin took some minutes to have scan results displayed.
Apparently I got stuck somewhere in the sonar.property files or the bridge between Windows and Linux syntax...
If helpful I can share the property and POM files with you.
This was a bug in the Xanitizer plugin. It has been fixed with version 1.4.0 of the plugin.

Cannot install IBM Eclipse tools for Bluemix due to network issue

I'm trying to install IBM Eclipse tools for Bluemix but getting this error:
An error occurred while collecting items to be installed session
context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=). Unable to read repository at
http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/updates/wdt/kepler/plugins/com.ibm.ws.st.common.core_1.0.100.v20150220_1740.jar.
Connection reset
I tried to use solution from this dW Answers post Downloading Bluemix plugin for Eclipse... Is it even possible??? but it didn't help.
When I went and tried to manually download file by using this link : http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/updates/wdt/kepler/plugins/com.ibm.ws.st.common.core_1.0.100.v20150220_1740.jar I get an error:
This webpage is not available
But when I changed link to use https as following, it works:
https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/updates/wdt/kepler/plugins/com.ibm.ws.st.common.core_1.0.100.v20150220_1740.jar
So, my question is how can I redirect all "problematic" links to correct web site? In other words, is it possible to one url to another url?
Thank you.
UPDATE:
Tried to install this plugin at home and everything worked. I suspect that something wrong with a network on a work, will ask our admins to try to investigate the issue and post it back if we'll discover something interesting.
UPDATE 2
Confirmed by admins. It was a temporary network issue.
here is the last updated guide for Eclipse Bluemix tool plugin, which should be always used to install this plugin for the first time, in order to be sure on using the right version
https://www.ng.bluemix.net/docs/#manageapps/eclipsetools/eclipsetools.html#eclipsetools
At the following url a shorted version with Eclipse installation link:
https://www.ng.bluemix.net/docs/starters/deploy_eclipsetools.html
Your issue could be related to an obsolete reference updated with a new release version for the plugin.

Connecting to Jira remotelly Using Netbeans or other client tools

I am using Atlassian JIRA™ (Professional Edition, Version: 3.0.3-#75 and Netbeans IDE 7.1
But when trying to validate a connection to Jira from netbeans it gave me this error "Jira RPC services are not enabled"
while I have enabled it and also I enabled allow remote calls in Jira
To be more specific "RPC JIRA Plugin" that I have installed is
The standard JIRA RPC services, both SOAP and XML-RPC.
Plugin Version: 1.1
JIRA version: 3.0
It has
System XML-RPC Services (xmlrpc)
The standard JIRA XML-RPC services.
RPC Field Coordinator (rpcFieldCoordinator)
Issue Service (issueService)
User Service (userService)
Token Manager (tokenManager)
System SOAP Services (soap)
The standard JIRA SOAP services.
Magic Field Validator (magicFieldValidator)
Project Service (projectService)
My global configurations are:
Allow users to vote on issues ON
Allow users to watch issues ON
Allow unassigned issues ON
Cache issues ON
External user management OFF
Logout Confirmation Never
Use Gzip Compression OFF
Accept remote API calls ON
BTW, it is not just netbeans, I got same problem with other tools as well to connect to jira
I will apreciate if my answer be found ASAP .
Thanks
Answering an old question, but I thought someone else might find this useful.
I got the same error today setting up an issue tracker in NetBeans 7.2 and I eventually tracked it down to NetBeans not being able to correctly resolve (using DNS) the (local) host name that was running our JIRA server. When I changed NetBeans to use 'No Proxy' in the main settings, it worked fine.
EDIT: Note that as of version 7.0 of the JIRA server, Atlassian have depracated the SOAP/XML-RPC API, so the JIRA Plugin for Netbeans no longer works. :-(

Netbeans 6.5.1 + Openfire 3.6.4 Collaboration?

We are using the collab plugin in Netbeans. Unfortunately the "Service for the developer collaboration XMPP server share.java.net will be discontinued as of April 20, 2009. "
http://wiki.netbeans.org/FaqShareJavaNet
I managed to install OpenFire 3.6.4 on OpenSolaris 2008.11.
Whatever I do I cant login from Netbeans collab plugin, but getting "Object does not represnt a valid JID"
Server log:
2009.05.23 21:41:27 [org.jivesoftware.openfire.spi.PresenceManagerImpl.userUnavailable(PresenceManagerImpl.java:271)] Error storing offline presence of user:
Little info to find on this topic, other than
http://wiki.netbeans.org/CollabServer
http://www.igniterealtime.org/community/message/190171
Does anyone run successfully Netbeans with Openfire ?
cheers
i think there's a bug somewhere between Openfire and netbeans collab module.
using NB 6.7, Openfire 3.6.4 and postgres 7, i notice there are 2 process trying to provide "presence" function which resulting 2 conflicted database entry in ofpresence table.
one entry which i believe came from netbeans collab connection, contains a user JID required by netbeans, while the other one didn't, this is what i believe the culprit behind the "Object does not represnt a valid JID" error message.
i decided to experiment with deleting all services in Openfire Group Chat tab, and successfully managed to login from my NB 6.7, but no collaborative channel available...
Yes!
Install "Search" plugin from the available plugins list in the openfire admin. THATS ALL!
It's even in the link above :)
If it doesn't work, try disabling offline messages.