When I add Component Names or IDs from Add Field under Additional Fields n8n fails to fetch components from self-hosted jira server. Connection/authentication to jira server works as i’m able to select the project and issue type before this.
What is the error message (if any)?
Issues:
There was a problem loading the parameter options from server: "No data found for item-index: “0"”
Also on the tooltip of the field: “Parameter: “additionalFields.componentIds” has issues”
If i check https:///rest/api/latest/project/ url from the jira server, the components are listed in the components key of the returned JSON and there is no additionalFields key at all. Not sure if this where n8n looks for those but at least it is one place where the components are listed on self-hosted Jira.
Information on your n8n setup
n8n version: 1.0.5
Database (default: SQLite): Whatever is used by the default docker compose setup
If this endpoint doesn’t work as expected on your self hosted instance, you can still enter a value manually in the Component Names or IDs field using an expression like {{ [ "abc" ] }}. n8n expects an array here, which is why the expression returning a valid array is required:
You will still see the warning triangle next to the field, but should still be able to execute your node.
Alternatively, you can of course use the HTTP Request node directly to perform your request without having n8n apply any additional validation logic.
Purchase request looks like a name, can you try using the ID of your component? From looking at Solved: How to find component ID? it should be numeric (e.g. 20500).