[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Armin Müller edited a comment on JENKINS-57695 Re: Jira issue not created when jenkins build failed I'm afraid this (still) doesn't work for me. Jenkine Jenkins 2.222.1, Plugin 3.0.15, self-hosted Jira 8.5.4: {{Jira REST createIssue error: RestClientException \ {statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors= {assignee=expected Object containing a 'name' property}, errorMessages=[]}]}}} \ {{RestClientException \ {statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={assignee=expected Object containing a 'name' property} , errorMessages=[]}]}}} \ {{ at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$2.apply(AbstractAsynchronousRestClient.java:176)}} \ {{... }}{{Caused: java.util.concurrent.ExecutionException}} \ {{ at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)}} \ {{ at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)}} \ {{ at io.atlassian.util.concurrent.Promises$OfStage.get(Promises.java:357)}} \ {{ at com.atlassian.jira.rest.client.internal.async.DelegatingPromise.get(DelegatingPromise.java:106)}} \ {{ at hudson.plugins.jira.JiraRestService.createIssue(JiraRestService.java:306)}} \ {{ at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:412)}} \ {{ at hudson.plugins.jira.JiraCreateIssueNotifier.createJiraIssue(JiraCreateIssueNotifier.java:204)}} \ {{ at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultFailure(JiraCreateIssueNotifier.java:357)}} \ {{ at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:159)}} \ {{ at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)}} \ {{ at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)}} \ {{ at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)}} \ {{ at hudson.model.Build$BuildExecution.post2(Build.java:186)}} \ {{ at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)}} \ {{ at hudson.model.Run.execute(Run.java:1881)}} \ {{ at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)}} \ {{ at hudson.model.ResourceController.execute(ResourceController.java:97)}} \ {{ at hudson.model.Executor.run(Executor.java:428)}}Any idea what could cause this? Add Comment
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Armin Müller commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed I'm afraid this (still) doesn't work for me. Jenkine 2.222.1, Plugin 3.0.15, self-hosted Jira 8.5.4: {{Jira REST createIssue error: RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors= {assignee=expected Object containing a 'name' property}, errorMessages=[]}]}}} {{RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={assignee=expected Object containing a 'name' property} , errorMessages=[]}]}}} {{ at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$2.apply(AbstractAsynchronousRestClient.java:176)}} {{... }} Caused: java.util.concurrent.ExecutionException {{ at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)}} {{ at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)}} {{ at io.atlassian.util.concurrent.Promises$OfStage.get(Promises.java:357)}} {{ at com.atlassian.jira.rest.client.internal.async.DelegatingPromise.get(DelegatingPromise.java:106)}} {{ at hudson.plugins.jira.JiraRestService.createIssue(JiraRestService.java:306)}} {{ at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:412)}} {{ at hudson.plugins.jira.JiraCreateIssueNotifier.createJiraIssue(JiraCreateIssueNotifier.java:204)}} {{ at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultFailure(JiraCreateIssueNotifier.java:357)}} {{ at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:159)}} {{ at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)}} {{ at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)}} {{ at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)}} {{ at hudson.model.Build$BuildExecution.post2(Build.java:186)}} {{ at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)}} {{ at hudson.model.Run.execute(Run.java:1881)}} {{ at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)}} {{ at hudson.model.ResourceController.execute(ResourceController.java:97)}} {{ at hudson.model.Executor.run(Executor.java:428)}} Any idea what could cause this? Add Comment
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Craig Rodrigues resolved as Fixed Fixed in plugin 3.0.12 Jenkins / JENKINS-57695 Jira issue not created when jenkins build failed Change By: Craig Rodrigues Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.c
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title neelima devana edited a comment on JENKINS-57695 Re: Jira issue not created when jenkins build failed Am experiencing the same issue with null pointer exception, its inconsistent in creating the issues in Jira .+*Work Around:*+ Curl command works fine in create issue in Jira , make sure about your mandatory Jira fields and add them to txt file . {{curl --D-- -u *username:password* -X POST --data-binary "@/**/*abc.txt*" -H "Content-Type: application/json" [https://*|https://%2A/]*/rest/api/2/issue/}} { "fields": { "project": { { "key": "abc" } } , "summary": "Sample Test ticket from Jenkins.", "description": "Creating of an issue using project keys and issue type names using the REST API", "issuetype": { { "name": "Task" } } , "customfield_10002": { { "id": "1" } } , "components":[ \ {"name":"Jenkins"} ], "assignee" : { { "name" : "abc" } } } {{ } } Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.2084.1578068460423%40Atlassian.JIRA.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title neelima devana edited a comment on JENKINS-57695 Re: Jira issue not created when jenkins build failed Am experiencing the same issue with null pointer exception, its inconsistent in creating the issues in Jira .+*Work Around:*+ Curl command works fine in create issue in Jira , make sure about your mandatory Jira fields and add them to txt file . {{curl - - D- - -u *username:password* -X POST --data-binary "@/**/*abc.txt*" -H "Content-Type: application/json" [https://*|https://%2A/]*/rest/api/2/issue/}} { "fields": { "project": { "key": "abc" }, "summary": "Sample Test ticket from Jenkins.", "description": "Creating of an issue using project keys and issue type names using the REST API", "issuetype":{ "name": "Task" }, "customfield_10002": { "id": "1" }, "components":[{"name":"Jenkins"}], "assignee" : { "name" : "abc" } }}{{}} Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.2070.1578067506432%40Atlassian.JIRA.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title neelima devana edited a comment on JENKINS-57695 Re: Jira issue not created when jenkins build failed Am experiencing the same issue with null pointer exception, its inconsistent in creating the issues in Jira .+*Work Around:*+ Curl command works fine in create issue in Jira , make sure about your mandatory Jira fields and add them to txt file . {{curl -D- -u *username:password* -X POST --data-binary "@/**/*abc.txt*" -H "Content-Type: application/json" [https://*|https://%2A/]*/rest/api/2/issue/}} { "fields": { "project": { "key": "abc" }, "summary": "Sample Test ticket from Jenkins.", "description": "Creating of an issue using project keys and issue type names using the REST API", "issuetype":{ "name": "Task" }, "customfield_10002": { "id": "1" }, "components":[ \\ {"name":"Jenkins"} ], "assignee" : { "name" : "abc" } }}{{}} Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.2068.1578067505651%40Atlassian.JIRA.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title neelima devana edited a comment on JENKINS-57695 Re: Jira issue not created when jenkins build failed Am experiencing the same issue with null pointer exception, its inconsistent in creating the issues in Jira .+*Work Around:*+ Curl command works fine in create issue in Jira , make sure how your about your mandatory Jira fields and add them to txt file . {{curl -D- -u *username:password* -X POST --data-binary "@/**/*abc.txt*" -H "Content-Type: application/json" [ https://* |https://%2A/] */rest/api/2/issue/}} { "fields": { "project": { { "key": "abc" } , "summary": "Sample Test ticket from Jenkins.", "description": "Creating of an issue using project keys and issue type names using the REST API", "issuetype": { { "name": "Task" } , "customfield_10002": { { "id": "1" } , "components":[\ \ {"name":"Jenkins"}], "assignee" : { { "name" : "abc" } }}{{}} Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.2060.1578067503392%40Atlassian.JIRA.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title neelima devana commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Am experiencing the same issue with null pointer exception, its inconsistent in creating the issues in Jira . Work Around: Curl command works fine in create issue in Jira , make sure how your about your mandatory Jira fields and add them to txt file . curl D -u username:password -X POST --data-binary "@//abc.txt" -H "Content-Type: application/json" https://**/rest/api/2/issue/ { "fields": { "project": { "key": "abc" } , "summary": "Sample Test ticket from Jenkins.", "description": "Creating of an issue using project keys and issue type names using the REST API", "issuetype": { "name": "Task" } , "customfield_10002": { "id": "1" } , "components":[\{"name":"Jenkins"}], "assignee" : { "name" : "abc" } } } {{}} Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.2046.1578067440360%40Atlassian.JIRA.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Ryan Felder edited a comment on JENKINS-57695 Re: Jira issue not created when jenkins build failed I just got this today after verifying my Jira settings test reports success. {code:java} ERROR: Build step failed with exceptionjava.lang.NullPointerException at hudson.plugins.jira.JiraCreateIssueNotifier.getStatus(JiraCreateIssueNotifier.java:220) at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultSuccess(JiraCreateIssueNotifier.java:388) at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:161) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1843) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)Build step 'JIRA: Create issue' marked build as failure {code} Now using Jenkins 2.176.2 and Jira Plugin 3.0.8 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.6908.1564758840274%40Atlassian.JIRA.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Ryan Felder commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed I just got this today after verifying my Jira settings test reports success. ERROR: Build step failed with exception java.lang.NullPointerException at hudson.plugins.jira.JiraCreateIssueNotifier.getStatus(JiraCreateIssueNotifier.java:220) at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultSuccess(JiraCreateIssueNotifier.java:388) at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:161) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1843) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Build step 'JIRA: Create issue' marked build as failure Now using Jenkins 2.176.2 and Jira Plugin 3.0.8 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.6901.1564758780198%40Atlassian.JIRA.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title tanmoy roy commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Team, Any update on this issue. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.7796.1562821800201%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Ryan Felder edited a comment on JENKINS-57695 Re: Jira issue not created when jenkins build failed I am also experiencing this, but it is inconsistent.Sometimes I do receive the NullPointerExceptionSometimes a job fails and there is no indication in the logs that anything failed to occur, but a Jira ticket is not created. Sometimes tickets are created as expected. This inconsistent behaviour occurs on projects that have been copied from one another, with no apparent difference in configuration.I am presently tweaking issue type and severity values to see if I can get consistent behaviour but have not found a magic combination yet. I am using Jenkins 2.176.1, Jira Plugin 3.0.8, and I am trying to integrate with a hosted Jira Cloud site. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.7501.1562783040230%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Sachin Gahlawat commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Hi Team, Any update on this issue. As per Radek he will work on this issue on this week. Please help us to resolve this issue as now it is a Blocker for may users. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.24789.1560233040264%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title tanmoy roy commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed sathish chinnasamy i tried using the latest version and all the steps you mentioned above but still not able to create issue upon build failure. No logs in console output and Jenkins Logs Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.22403.1559807520174%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title tanmoy roy commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed sathish chinnasamy you tried with the latest version of the plugin, or v 3.0.5. What if we need to create the issue as BUG, is that possible?? if not we need to manually update the raised ticket from Task to BUG. Please let me know if my understanding is correct. And if the above case that i mentioned is valid than i think its not a permanent solution. Please suggest. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.22366.1559803440350%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title sathish chinnasamy edited a comment on JENKINS-57695 Re: Jira issue not created when jenkins build failed [~ristosaa] Finally i can create ticket.. problem i found from the jenkin log is ,{color:#ff} WARNING: JIRA REST createIssue error: RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={customfield_10011=Epic Name is required., assigne{color} {color:#ff}e=User 'sathish...@gmail.com' does not exist.}, errorMessages=[]}]}{color} {color:#172b4d}i kept _*Assignee*_ field _*empty*_ and change _*issue type*_ to _*Task*_ and it successfully created ticket in Jira{color}{color:#172b4d}All we need to know is how to pass epic name inside issue type and for assignee its automatically picking my jenkin Username or the user who created the job as default{color}{color:#172b4d}No problem with the Jira Version{color} Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.20710.1559653200345%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title sathish chinnasamy commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Finally i can create ticket.. problem i found from the jenkin log is , WARNING: JIRA REST createIssue error: RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={customfield_10011=Epic Name is required., assigne e=User 'sathish...@gmail.com' does not exist.}, errorMessages=[]}]} i kept Assignee field empty and change issue type to Task and it successfully created ticket in Jira All we need to know is how to pass epic name inside issue type and for assignee its automatically picking my jenkin Username as default No problem with the Jira Version Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.20695.1559652960399%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title sathish chinnasamy edited a comment on JENKINS-57695 Re: Jira issue not created when jenkins build failed [~ristosaa] Finally i can create ticket.. problem i found from the jenkin log is ,{color:# FF ff } WARNING: JIRA REST createIssue error: RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={customfield_10011=Epic Name is required., assigne{color}{color:# FF ff }e=User 'sathish...@gmail.com' does not exist.}, errorMessages=[]}]}{color} {color:#172b4d}i kept _*Assignee*_ field _*empty*_ and change _*issue type*_ to _*Task*_ and it successfully created ticket in Jira{color}{color:#172b4d}All we need to know is how to pass epic name inside issue type and for assignee its automatically picking my jenkin Username as default{color}{color:#172b4d}No problem with the Jira Version{color} Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.20701.1559652960515%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Radek Antoniuk commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed I can confirm that I am able to replicate this on my test environment. Comparing the changes in the last releases, I think this is caused by changes introduced since 3.0.5. I'll try to take a look at this next week, if you have some time to investigate, please check v. 3.0.5 if it was working for you correctly. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.20630.1559648220456%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Radek Antoniuk updated an issue Jenkins / JENKINS-57695 Jira issue not created when jenkins build failed Change By: Radek Antoniuk I have setup the 3. 6. 0 .6 version of Jira plugin for jenkins with my jenkins instance. I am having issue with "Create jira issue" upon job failure. Below is the error i am getting (from Console Output) {noformat} Build step 'Execute shell' marked build as failure ERROR: Build step failed with exception java.lang.NullPointerException at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:413) at hudson.plugins.jira.JiraCreateIssueNotifier.createJiraIssue(JiraCreateIssueNotifier.java:202) at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultFailure(JiraCreateIssueNotifier.java:357) at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:157) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1843) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Build step 'JIRA: Create issue' marked build as failure Finished: FAILURE{noformat} Need urgent help to fixing it. RegardsSachin Gahlawat A
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Radek Antoniuk updated an issue Jenkins / JENKINS-57695 Jira issue not created when jenkins build failed Change By: Radek Antoniuk Labels: confirmed Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.20614.1559647020571%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title tanmoy roy commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed risto saari No we didnot get any help on the issue till now. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.20602.1559646480238%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title sathish chinnasamy commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Even i too facing the same issue .. and i don't find solution anywhere in google .. waiting for someone to bring a fix Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.20583.1559643960421%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title risto saari commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Did you get any help to this ? we are facing the exactly same issue, using 2 different Jenkins instances wirh latests plugin. It must be related to REST call to JIRA cloud etc. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.20578.1559643540210%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title risto saari commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed I have exact the same problem: using latest Jenkins, Jira Plugin and Cloud Jira. This one is related a little bit to same thing but case is still different https://issues.jenkins-ci.org/browse/JENKINS-51629 it looks coming from: public Issue createIssue(String projectKey, String description, String assignee, Iterable components, String summary, @Nonnull Long issueTypeId, @Nullable Long priorityId) {| |final BasicIssue basicIssue = service.createIssue(projectKey, description, assignee, components, summary, issueTypeId, priorityId);| |return service.getIssue(basicIssue.getKey());| } Line 413 https://github.com/jenkinsci/jira-plugin/blob/master/src/main/java/hudson/plugins/jira/JiraSession.java something is null but i have no idea what ? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.20573.1559643300155%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title benoit guerin commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Duplicate of JENKINS-54486 ? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.17409.1559306880269%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Sachin Gahlawat commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Hi Team, Any tentative timeline to resolve this issue as it's raised till 2016 and still it's not resolved. Can you please share the compatibility versions of Jira plugin and Jenkins server version. Regards Sachin Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.16520.1559207760129%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title tanmoy roy commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Hey Team, Any further updates on the issue. Need urgent help to fixing it. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.14979.1559128800250%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title tanmoy roy edited a comment on JENKINS-57695 Re: Jira issue not created when jenkins build failed I tried with JIRA-Plugin version 3.0.7.But still facing the simailar issue in creation of Jira issue using Jenkins upon build failure. Below is the ERROR logs from the console-java.lang.NullPointerExceptionjava.lang.NullPointerException at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:413) at hudson.plugins.jira.JiraCreateIssueNotifier.createJiraIssue(JiraCreateIssueNotifier.java:202) at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultFailure(JiraCreateIssueNotifier.java:357) at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:157) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1835) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) N.B-My instance of Jenkins is hosted in Windows machine and the version is 2.150.3 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.13571.1559043660227%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title tanmoy roy commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed I tried with JIRA-Plugin version 3.0.7. But still facing the simailar issue in creation of Jira issue using Jenkins upon build failure. Below is the ERROR logs from the console- java.lang.NullPointerExceptionjava.lang.NullPointerException at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:413) at hudson.plugins.jira.JiraCreateIssueNotifier.createJiraIssue(JiraCreateIssueNotifier.java:202) at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultFailure(JiraCreateIssueNotifier.java:357) at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:157) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1835) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.13564.1559042880159%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Sachin Gahlawat commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Hi Radek, I already used 3.0.7 version of Jira Plugin but it still didn't worked. can you please share the compatible version of jenkins and Jira plugin and other plugins which needs to be use to Create Jira issue when jenkins build fails. It will be helpful for me. Sachin Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.13560.1559042760102%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Radek Antoniuk updated an issue Jenkins / JENKINS-57695 Jira issue not created when jenkins build failed Change By: Radek Antoniuk I have setup the 3.6.0 version of Jira plugin for jenkins with my jenkins instance. I am having issue with "Create jira issue" upon job failure. Below is the error i am getting (from Console Output) {noformat} Build step 'Execute shell' marked build as failureERROR: Build step failed with exceptionjava.lang.NullPointerException at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:413) at hudson.plugins.jira.JiraCreateIssueNotifier.createJiraIssue(JiraCreateIssueNotifier.java:202) at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultFailure(JiraCreateIssueNotifier.java:357) at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:157) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1843) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)Build step 'JIRA: Create issue' marked build as failureFinished: FAILURE {noformat} Need urgent help to fixing it. RegardsSachin Gahlawat A
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Radek Antoniuk commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed 3.0.7 for the jira-plugin - please update the jira-plugin to the current version from the Update Center Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.13554.1559042460186%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Sachin Gahlawat commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Hi Radek, Please find my comments below on your questions:- Does the validate button in JIRA site definition in global configuration validates the connection correctly? Answer:- Yes Can you try version 3.0.7 of the plugin? Answer:- For which plugin i will use version 3.0.7 for Jira plugin or for jenkins version. Please confirm. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.13537.1559041920231%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Radek Antoniuk commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed Does the validate button in JIRA site definition in global configuration validates the connection correctly? Can you try version 3.0.7 of the plugin? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.13523.1559038680110%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Radek Antoniuk updated an issue Jenkins / JENKINS-57695 Jira issue not created when jenkins build failed Change By: Radek Antoniuk Environment: Jenkins ver. 2.150.1, Centos OS jira-plugin 3.0.6 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.13509.1559035980172%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Radek Antoniuk updated an issue Jenkins / JENKINS-57695 Jira issue not created when jenkins build failed Change By: Radek Antoniuk Labels: exception jenkins plugin Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.13427.1559035860771%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title tanmoy roy commented on JENKINS-57695 Re: Jira issue not created when jenkins build failed I am also facing similar issue while creating Jira issue using Jenkins upon build failure Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199631.1558935625000.13048.1559014680152%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57695) Jira issue not created when jenkins build failed
Title: Message Title Sachin Gahlawat created an issue Jenkins / JENKINS-57695 Jira issue not created when jenkins build failed Issue Type: Bug Assignee: Unassigned Components: jira-plugin Created: 2019-05-27 05:40 Environment: Jenkins ver. 2.150.1, Centos OS Labels: plugin jenkins exception Priority: Blocker Reporter: Sachin Gahlawat I have setup the 3.6.0 version of Jira plugin for jenkins with my jenkins instance. I am having issue with "Create jira issue" upon job failure. Below is the error i am getting (from Console Output) Build step 'Execute shell' marked build as failure ERROR: Build step failed with exception java.lang.NullPointerException at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:413) at hudson.plugins.jira.JiraCreateIssueNotifier.createJiraIssue(JiraCreateIssueNotifier.java:202) at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultFailure(JiraCreateIssueNotifier.java:357) at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:157) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1843) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceControll