Hi,
We are currently having an issue when trying to update one of the custom field in Jira ticket from Jenkins build via jira-ext-plugin with the below error
404 Not Found: {"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}
We have verified the custom field ID of the field we are trying to update is correct
https://xxxx.atlassian.net/secure/admin/EditCustomField!default.jspa?id=11469
However, when this user logs into the actual jira ticket, he is able to view and update the custom field in the same jira ticket without an issue.
The actual exception:
Error updating ticket, continuing net.rcarz.jiraclient.JiraException: Failed to retrieve issue TPFX-48437 at PluginClassLoader for jira-ext//net.rcarz.jiraclient.Issue.realGet(Issue.java:700) at PluginClassLoader for jira-ext//net.rcarz.jiraclient.Issue.get(Issue.java:723) at PluginClassLoader for jira-ext//net.rcarz.jiraclient.JiraClient.getIssue(JiraClient.java:90) at PluginClassLoader for jira-ext//org.jenkinsci.plugins.jiraext.svc.impl.JiraClientSvcImpl.addLabelToField(JiraClientSvcImpl.java:168) at PluginClassLoader for jira-ext//org.jenkinsci.plugins.jiraext.view.AddLabelToField.perform(AddLabelToField.java:68) at PluginClassLoader for jira-ext//org.jenkinsci.plugins.jiraext.view.JiraExtBuildStep.perform(JiraExtBuildStep.java:61) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:164) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526) at hudson.model.Run.execute(Run.java:1894) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:446) Caused by: net.rcarz.jiraclient.RestException: 404 Not Found: {"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}} at PluginClassLoader for jira-ext//net.rcarz.jiraclient.RestClient.request(RestClient.java:160) at PluginClassLoader for jira-ext//net.rcarz.jiraclient.RestClient.get(RestClient.java:243) at PluginClassLoader for jira-ext//net.rcarz.jiraclient.Issue.realGet(Issue.java:698) ... 14 more
Note that it was working before and stopped working when we tried to update the jira username to the new one, now even after switching to the original user which was working before, it's now no longer working. Is there any other settings we should be checking?
Jira-ext-plugin version - jira-ext Version114.v7b_8b_1d4274c6
I believe the problem might be related to authentication. As far as I know, Jira Cloud no longer supports basic authentication with passwords. Instead, it requires an API token. Changing the username might have invalidated existing sessions or credentials used by the plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.