This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 244823 - Issue Tracking with JIRA 6.x.y
Summary: Issue Tracking with JIRA 6.x.y
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Jira (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 248876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-30 19:10 UTC by sparkee
Modified: 2015-02-03 20:12 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Screenshot showing bug related to Jira integration within NetBeans 7.4 (53.03 KB, image/png)
2014-12-09 17:15 UTC, phpguru
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sparkee 2014-05-30 19:10:16 UTC
Once again our administrators have updated JIRA to the latest release (V6.2.5), insisting it was necessary to get the latest security patches and satisfy the Government IT security folks allowing us to continue to run the website.  Which means that once again I find that the netbeans plugin no longer works (and I understand it does not currently advertise it will).  The log says this on any action I have tried that connects to the JIRA server:

org.eclipse.core.runtime.CoreException: Unable to login to https://xxx.gov:8380. Please validate credentials via Task Repositories view.
        at org.netbeans.modules.mylyn.util.commands.SynchronizeQueryCommand.execute(SynchronizeQueryCommand.java:187)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:123)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:102)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:98)
        at org.netbeans.modules.jira.query.JiraQuery$1.run(JiraQuery.java:199)
        at org.netbeans.modules.jira.query.JiraQuery.executeQuery(JiraQuery.java:447)
        at org.netbeans.modules.jira.query.JiraQuery.refreshIntern(JiraQuery.java:159)
        at org.netbeans.modules.jira.query.JiraQuery.refresh(JiraQuery.java:251)
        at org.netbeans.modules.jira.query.QueryController$QueryTask.executeQuery(QueryController.java:1469)
        at org.netbeans.modules.jira.query.QueryController$QueryTask.run(QueryController.java:1502)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
INFO [org.netbeans.modules.jira.Jira]

However, when I go to the Task Repositories view and enter the information and click validate it says "Connection successful" in pretty green print.

See also: https://answers.atlassian.com/questions/182864/is-netbeans-still-supported-in-jira-v-6-x

Asking for an enhancement when somebody gets the time to take a look.
Comment 1 Ondrej Vrabec 2014-05-30 19:59:07 UTC
i don't think JIRA has any connection to version control/git
Comment 2 sparkee 2014-05-31 10:19:00 UTC
Whoops, yes issue tracking.  Sorry.  My brain is wrapped around integrating git and JIRA with Netbeans such that issues and commits tracking with each other.
Comment 3 neuman.ben 2014-09-10 19:19:53 UTC
Same issue for me using Jira 6.1, NetBeans 8.0.1. 
Credentials "Validate" successfully. Connection subsequently fails.

INFO [org.netbeans.modules.jira.Jira]
org.eclipse.core.runtime.CoreException: Unable to login to http://myjira.mycompany.com:8080. Please validate credentials via Task Repositories view.
        at org.netbeans.modules.mylyn.util.commands.SynchronizeQueryCommand.execute(SynchronizeQueryCommand.java:187)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:127)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:175)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:175)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:175)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:175)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:175)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:175)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:175)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:175)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:175)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:102)
        at org.netbeans.modules.jira.query.JiraQuery$1.run(JiraQuery.java:199)
        at org.netbeans.modules.jira.query.JiraQuery.executeQuery(JiraQuery.java:447)
        at org.netbeans.modules.jira.query.JiraQuery.refreshIntern(JiraQuery.java:159)
        at org.netbeans.modules.jira.query.JiraQuery.refresh(JiraQuery.java:251)
        at org.netbeans.modules.jira.query.QueryController$QueryTask.executeQuery(QueryController.java:1469)
        at org.netbeans.modules.jira.query.QueryController$QueryTask.run(QueryController.java:1502)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 4 BATUSystems 2014-09-27 02:24:37 UTC
Same issue for me using Jira 6.3, NetBeans 8.0.1. 


INFO [org.netbeans.modules.jira.Jira]
org.eclipse.core.runtime.CoreException: Unable to login to http://jira.mycompany.pl. Please validate credentials via Task Repositories view.
        at com.atlassian.connector.eclipse.internal.jira.core.JiraRepositoryConnector.updateRepositoryConfiguration(JiraRepositoryConnector.java:432)
        at org.netbeans.modules.jira.repository.JiraRepository$1ConfigurationCommand.execute(JiraRepository.java:552)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:127)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.repository.JiraRepository.getConfigurationIntern(JiraRepository.java:559)
        at org.netbeans.modules.jira.repository.JiraRepository.getConfiguration(JiraRepository.java:523)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:116)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:106)
        at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:102)
        at org.netbeans.modules.jira.util.JiraUtils.getRepositoryTask(JiraUtils.java:129)
        at org.netbeans.modules.jira.repository.JiraRepository.simpleSearch(JiraRepository.java:384)
        at org.netbeans.modules.jira.JiraRepositoryProvider.simpleSearch(JiraRepositoryProvider.java:93)
        at org.netbeans.modules.jira.JiraRepositoryProvider.simpleSearch(JiraRepositoryProvider.java:54)
        at org.netbeans.modules.bugtracking.RepositoryImpl.simpleSearch(RepositoryImpl.java:280)
        at org.netbeans.modules.bugtracking.ui.search.QuickSearchPopup$SearchItem$1.run(QuickSearchPopup.java:634)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 5 phpguru 2014-12-09 17:13:38 UTC
I can confirm that downgrading to NetBeans 7.4 (specific version and platform info below) enables the Jira functionality to work as expected. When submitted a commit and attaching it to a Jira task it does throw this somewhat bizarre dialog (attached screenshot) but click ok and the integration succeeds. 


Product Version: NetBeans IDE 7.4 (Build 201310111528)
Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 3
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Mac OS X version 10.10.1 running on x86_64; UTF-8; en_US (nb)
Comment 6 phpguru 2014-12-09 17:15:08 UTC
Created attachment 150992 [details]
Screenshot showing bug related to Jira integration within NetBeans 7.4
Comment 7 phpguru 2014-12-09 17:17:52 UTC
*** Bug 248876 has been marked as a duplicate of this bug. ***
Comment 8 phpguru 2015-02-02 15:56:01 UTC
JIRA plugin version 1.55 works perfectly in...

Product Version: NetBeans IDE Dev (Build 201501300002)
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Mac OS X version 10.10.2 running on x86_64; UTF-8; en_US (nb)
Comment 9 sparkee 2015-02-03 20:12:43 UTC
(In reply to phpguru from comment #8)
> JIRA plugin version 1.55 works perfectly in...
> 
> Product Version: NetBeans IDE Dev (Build 201501300002)
> Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
> Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
> System: Mac OS X version 10.10.2 running on x86_64; UTF-8; en_US (nb)

Thanks, I downloaded this version and confirm it seems to work.  I had some other unrelated issues though, so I'll need to wait for a more stable version to come out.  Can't use a development version on our production code.