Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira creates issue but also shows error on screen, why ? Edited

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'

1 answer

1 accepted

1 vote
Answer accepted
Brant Schroeder Community Leader Dec 27, 2019

The error is normally caused by a post function in the Create Issue transition.

To troubleshoot:

  1. Find the workflow used by the Issue Type in question
  2. Locate the "Create" transition
  3. Check the Post Functions for problems

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

https://community.atlassian.com/t5/Jira-Software-questions/createIssueObject-failed-unable-to-create-issue-in-transition/qaq-p/1354299#U1354830

Please suggest which plugin is needed for a post function ..??

 

Regards

Shradha

HI @metinbulak 

What's the resolution for this?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,469 views 22 32
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you