[JIRA] [jira-plugin] (JENKINS-30682) Ticket creation fails when no components in JIRA project exist / JIRA rejects empty component list

2015-10-26 Thread thomwilh...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thom Wilhelm commented on  JENKINS-30682 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Ticket creation fails when no components in JIRA project exist / JIRA rejects empty component list  
 
 
 
 
 
 
 
 
 
 
Hey Radek Antoniuk thanks so much that's fixed the issue for us. Legend. 
Big up yourself. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [jira-plugin] (JENKINS-30682) JIRA ticket creation failing with java.lang.NullPointerException

2015-10-25 Thread thomwilh...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thom Wilhelm commented on  JENKINS-30682 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: JIRA ticket creation failing with java.lang.NullPointerException  
 
 
 
 
 
 
 
 
 
 
Hi Radek Antoniuk in my file /var/log/jenkins/jenkins.log I'm getting the following line only when a build fails: 
INFO: Sydney.com-IN #7 main build action completed: FAILURE 
I can see some older ones from before that mention component was not found eg. 
WARNING: jira rest client create issue error. cause: RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors= {components=Field 'components' cannot be set. It is not on the appropriate screen, or unknown.} 
, errorMessages=[]}]} 
But I'm not entering a component value anymore. Same response as before with the NPE: 
java.lang.NullPointerException at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:305) ... etc ... 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [jira-plugin] (JENKINS-30682) JIRA ticket creation failing with java.lang.NullPointerException

2015-10-19 Thread thomwilh...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thom Wilhelm commented on  JENKINS-30682 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: JIRA ticket creation failing with java.lang.NullPointerException  
 
 
 
 
 
 
 
 
 
 
Hey Radek Antoniuk yep some parts of the plugin are working as expected. 
We've got another Jenkins job setup with the "Update relevant JIRA issues" option and this works correctly. But just can't get the 'Create Jira Issue' to work. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [jira-plugin] (JENKINS-30682) JIRA ticket creation failing with java.lang.NullPointerException

2015-10-07 Thread thomwilh...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thom Wilhelm updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30682 
 
 
 
  JIRA ticket creation failing with java.lang.NullPointerException  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thom Wilhelm 
 
 
 

Attachment:
 
 project config - version 2.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [jira-plugin] (JENKINS-30682) JIRA ticket creation failing with java.lang.NullPointerException

2015-10-07 Thread thomwilh...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thom Wilhelm commented on  JENKINS-30682 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: JIRA ticket creation failing with java.lang.NullPointerException  
 
 
 
 
 
 
 
 
 
 
Hi Radek Antoniuk I'm getting the same NullPointerException even with the assignee field filled out (see the update config screenshot). I removed the "Component Name" field as I'm assuming this is optional. 
ERROR: Build step failed with exception java.lang.NullPointerException at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:305) at hudson.plugins.jira.JiraCreateIssueNotifier.createJiraIssue(JiraCreateIssueNotifier.java:153) at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultFailure(JiraCreateIssueNotifier.java:343) at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:115) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Build step 'Create Jira Issue' marked build as failure 
Have you got any insight into why this might be failing? I can try to replicate with the REST API but am not familiar with how to exactly replicate the call you are making from the plugin. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [jira-plugin] (JENKINS-30682) JIRA ticket creation failing with java.lang.NullPointerException

2015-09-30 Thread thomwilh...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thom Wilhelm edited a comment on  JENKINS-30682 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: JIRA ticket creation failing with java.lang.NullPointerException  
 
 
 
 
 
 
 
 
 
 Hi [~warden] the "Validate Settings" button I've found to be almost useless, if I change the URL to something completely random https://fjjfs.sdggdsdgssdg.xyz , or fill out the username/password to deliberately invalid credentials  I still receive "Success". It's almost like this check doesn't actually connect to the server, it just validates the fields are filled out.I'll experiment with entering an assignee, although I had already tried this I believe. I'll get back to you after I've conducted some more CURL tests. What do you mean "with category included", is this similar to project key or component? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [jira-plugin] (JENKINS-30682) JIRA ticket creation failing with java.lang.NullPointerException

2015-09-30 Thread thomwilh...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thom Wilhelm commented on  JENKINS-30682 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: JIRA ticket creation failing with java.lang.NullPointerException  
 
 
 
 
 
 
 
 
 
 
Hi Radek Antoniuk the "Validate Settings" button I've found to be almost useless, if I change the URL to something completely random https://fjjfs.sdggdsdgssdg.xyz I still receive "Success". It's almost like this check doesn't actually connect to the server, it just validates the fields are filled out. 
I'll experiment with entering an assignee, although I had already tried this I believe. I'll get back to you after I've conducted some more CURL tests. What do you mean "with category included", is this similar to project key or component? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [jira-plugin] (JENKINS-30682) JIRA ticket creation failing with java.lang.NullPointerException

2015-09-28 Thread thomwilh...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thom Wilhelm created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30682 
 
 
 
  JIRA ticket creation failing with java.lang.NullPointerException  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Attachments:
 

 global config.png, project config.png 
 
 
 

Components:
 

 jira-plugin 
 
 
 

Created:
 

 29/Sep/15 12:33 AM 
 
 
 

Environment:
 

 JIRA v7.0.0-OD-07-011  Jenkins 1.631  JIRA plugin 2.0.2   $ lsb_release -a  No LSB modules are available.  Distributor ID: Ubuntu  Description: Ubuntu 14.04.3 LTS  Release: 14.04  Codename: trusty   $ java -version  java version "1.7.0_79"  OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.14.04.1)  OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)   $ curl --version  curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3  Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp  Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP 
 
 
 

Priority:
 
  Trivial 
 
 
 

Reporter:
 
 Thom Wilhelm