Hi,
Jira admin can not create issue but when I look the project I see that the issue is created.
I dont have any validator or condition in this workflow.
Thanks for help.
The error is :
We can't create this issue for you right now, it could be due to unsupported content you've entered into one or more of the issue fields. If this situation persists, contact your administrator as they'll be able to access more specific information in the log file.
The log file is :
2019-12-25 10:19:59,744 https-jsse-nio-8443-exec-59 INFO hayat 559x913549x9 ybxfpi 31.140.167.226 /secure/admin/ViewLogging!markLogs.jspa [c.a.j.util.log.LogMarker]
2019-12-25 10:20:04,400 HealthCheckWatchdog:thread-6 WARN ServiceRunner [c.a.t.healthcheck.concurrent.SupportHealthCheckTask] Health check Application links was unable to complete within the timeout of 20000.
2019-12-25 10:20:04,400 HealthCheck:thread-1 WARN ServiceRunner [c.a.applinks.core.DefaultApplinkStatusService] Unrecognized error while attempting to retrieve status of Application Link '7e58aa1a-881c-3bbe-8f34-29cc36b48f7e'
2019-12-25 10:20:05,135 https-jsse-nio-8443-exec-46 INFO hayat 560x913694x10 ybxfpi 31.140.167.226 /secure/CreateIssueDetails.jspa [c.a.j.web.action.XsrfErrorAction] The security token is missing for 'hayat'. User-Agent : 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36'
2019-12-25 10:20:07,963 https-jsse-nio-8443-exec-32 ERROR hayat 560x913732x11 ybxfpi 31.140.167.226 /secure/CreateIssueDetails.jspa [c.i.j.plugins.functions.CreateIssueFunction] Error while executing CreateIssueFunction: java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
at com.innovalog.jmwe.plugins.functions.CreateIssueFunction.executeFunction(CreateIssueFunction.java:359)
at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:126)
at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1014)
at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1407)
at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:606)
at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:754)
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:592)
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:501)
at com.atlassian.jira.issue.managers.RequestCachingIssueManager.createIssue(RequestCachingIssueManager.java:195)
at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:253)
at com.atlassian.jira.web.action.issue.CreateIssueDetails.createIssue(CreateIssueDetails.java:99)
at com.atlassian.jira.web.action.issue.CreateIssueDetails.doExecute(CreateIssueDetails.java:78)
... 1 filtered
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
2019-12-25 10:20:07,963 https-jsse-nio-8443-exec-32 ERROR hayat 560x913732x11 ybxfpi 31.140.167.226 /secure/CreateIssueDetails.jspa [c.a.j.bc.issue.DefaultIssueService] Error creating issue:
com.atlassian.jira.exception.CreateException: Error while executing CreateIssueFunction: java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
: root cause: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:600)
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:501)
at com.atlassian.jira.issue.managers.RequestCachingIssueManager.createIssue(RequestCachingIssueManager.java:195)
at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:253)
at com.atlassian.jira.web.action.issue.CreateIssueDetails.createIssue(CreateIssueDetails.java:99)
at com.atlassian.jira.web.action.issue.CreateIssueDetails.doExecute(CreateIssueDetails.java:78)
... 1 filtered
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.atlassian.jira.workflow.WorkflowException: Error while executing CreateIssueFunction: java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
: root cause: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:773)
... 275 more
Caused by: com.opensymphony.workflow.WorkflowException: Error while executing CreateIssueFunction: java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
: root cause: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:131)
at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1407)
at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:606)
at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:754)
... 276 more
Caused by: java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
at com.innovalog.jmwe.plugins.functions.CreateIssueFunction.executeFunction(CreateIssueFunction.java:359)
at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:126)
... 280 more
2019-12-25 10:20:08,385 HealthCheckWatchdog:thread-2 WARN ServiceRunner [c.a.t.healthcheck.concurrent.SupportHealthCheckTask] Health check Application links was unable to complete within the timeout of 20000.
2019-12-25 10:20:08,416 HealthCheck:thread-4 WARN ServiceRunner [c.a.applinks.core.DefaultApplinkStatusService] Unrecognized error while attempting to retrieve status of Application Link '7e58aa1a-881c-3bbe-8f34-29cc36b48f7e'
2019-12-25 10:20:13,041 https-jsse-nio-8443-exec-19 ERROR hayat 560x913848x14 ybxfpi 31.140.167.226 /secure/CreateIssueDetails.jspa [c.i.j.plugins.functions.CreateIssueFunction] Error while executing CreateIssueFunction: java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
at com.innovalog.jmwe.plugins.functions.CreateIssueFunction.executeFunction(CreateIssueFunction.java:359)
at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:126)
at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1014)
at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1407)
at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:606)
at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:754)
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:592)
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:501)
at com.atlassian.jira.issue.managers.RequestCachingIssueManager.createIssue(RequestCachingIssueManager.java:195)
at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:253)
at com.atlassian.jira.web.action.issue.CreateIssueDetails.createIssue(CreateIssueDetails.java:99)
at com.atlassian.jira.web.action.issue.CreateIssueDetails.doExecute(CreateIssueDetails.java:78)
... 1 filtered
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63)
... 7 filtered
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
... 25 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
2019-12-25 10:20:13,057 https-jsse-nio-8443-exec-19 ERROR hayat 560x913848x14 ybxfpi 31.140.167.226 /secure/CreateIssueDetails.jspa [c.a.j.bc.issue.DefaultIssueService] Error creating issue:
com.atlassian.jira.exception.CreateException: Error while executing CreateIssueFunction: java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
: root cause: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:600)
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:501)
at com.atlassian.jira.issue.managers.RequestCachingIssueManager.createIssue(RequestCachingIssueManager.java:195)
at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:253)
at com.atlassian.jira.web.action.issue.CreateIssueDetails.createIssue(CreateIssueDetails.java:99)
at com.atlassian.jira.web.action.issue.CreateIssueDetails.doExecute(CreateIssueDetails.java:78)
at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
... 25 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.atlassian.jira.workflow.WorkflowException: Error while executing CreateIssueFunction: java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
: root cause: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:773)
... 275 more
Caused by: com.opensymphony.workflow.WorkflowException: Error while executing CreateIssueFunction: java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
: root cause: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:131)
at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1407)
at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:606)
at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:754)
... 276 more
Caused by: java.lang.IllegalArgumentException: Issue could not be created because of validation errors: Field validation error(s) while creating new issue:
Field pid: You do not have permission to create issues in this project.
at com.innovalog.jmwe.plugins.functions.CreateIssueFunction.executeFunction(CreateIssueFunction.java:359)
at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:126)
... 280 more
2019-12-25 10:20:13,088 HealthCheckWatchdog:thread-8 WARN ServiceRunner [c.a.t.healthcheck.concurrent.SupportHealthCheckTask] Health check Application links was unable to complete within the timeout of 20000.
2019-12-25 10:20:13,088 HealthCheck:thread-6 WARN ServiceRunner [c.a.applinks.core.DefaultApplinkStatusService] Unrecognized error while attempting to retrieve status of Application Link '7e58aa1a-881c-3bbe-8f34-29cc36b48f7e'
The error is normally caused by a post function in the Create Issue transition.
To troubleshoot:
Sometimes a post function requires a plugin that is disabled.
Hi
I am also facing an issue with createIssueObject(currentloggedinuser, Map)
I have posted issue here
Please suggest which plugin is needed for a post function ..??
Regards
Shradha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @metinbulak
What's the resolution for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.