I am using the Jira SW node to create an issue in a Jira project. The project ID is pulled in from a Google sheet column and provided to the node via an expression.
When the create issue node is executed it fails with the following error:
ERROR: This parameter’s value is invalid. Please enter a valid mode.
The node will execute successfully the project ID is selected from the fixed dropdown
The node will execute successfully if the project ID is hardcoded into the expression.
If the following JS expresssion is used the node will fail with a different error:
const projectID = $('Sites info').item.json['Jira Project ID']
return projectID.toString()
})() }}
Bad request - please check your parameters
400 - {“errorMessages”:,“errors”:{“issuetype”:“The issue type selected is invalid.”}}
If the JS expression return is hardcoded it will succeed
{{ (() => { return "10000" })() }}
Information on your n8n setup
- n8n version: 1.18.1
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via n8n cloud
- Operating system: Mac OS