I’m trying to build an AI agent for creating Jira Tickets. I am using the Jira Software Tool node as a Tool for my AI.
What is the error message (if any)?
I’m facing the following error message:
Problem in node ‘Create new Jira issue full’
ERROR: This parameter’s value is invalid. Please enter a valid mode.
Stack trace:
NodeOperationError: ERROR: This parameter’s value is invalid. Please enter a valid mode. at extractValue (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+exporter-trace-otlp_2c2e1f47b69b34bef6f634a13cbf61d9/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/extract-value.ts:211:9) at ExecuteContext.getNodeParameter (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core@opentelemetry+api@1.9.0_@opentelemetry+exporter-trace-otlp_2c2e1f47b69b34bef6f634a13cbf61d9/node_modules/n8n-core/src/execution-engine/node-execution-context/node-execution-context.ts:526:29)
…
@BenW the “valid mode” error usually means an AI Agent is filling in a resourceLocator parameter (like project or issuetype) without specifying the mode it should use (list / id / url). n8n’s resourceLocator pattern wants both mode + value but the agent typically only generates the value, so the node bails.
fix is to pin those resource fields to Fixed in the Jira tool config instead of letting the AI decide them — only let the agent fill in the actual content fields like summary and description. which specific fields did u expose to AI in the tool? that’ll narrow down which one is hitting the empty-mode case.
thanks for your incredibly fast response. Now I understand the problem. It was indeed mainly caused by the project ID and the issue type ID. I fixed those values and it worked fine.
For some optional fields I put them to separate tool nodes, which are only called if necessary.