n8n
n8n copied to clipboard
Radio Buttons Customfield not being set-able in JIRA Data Centre
Describe the bug We have an issueType where there is a required customfield called 'Severity of impact' and it's type is 'Radio Buttons'. When I now want to create a JIRA ticket in n8n and try to set this field, I get 'ERROR: Bad request - please check your parameters ' all the time.
To Reproduce
This is the customfield selection.
I now set the customfield like this:
First I gathered an example issue via REST API to see what JIRA is responding.
customfield_13101: {"self": "https://jira.ORGANIZATION.cloud/rest/api/2/customFieldOption/11701", "value": "Medium (needs to be fixed soon)", "id": "11701", "disabled": false}
Therefore I tried these values: 11701 "id":11701 "id":"11701" "value":"Medium (needs to be fixed soon)" {{ [{"id":"11701"}] }} {{ [ {"self": "https://jira.ORGANIZATION.cloud/rest/api/2/customFieldOption/11701", "value": "Medium (needs to be fixed soon)", "id": "11701", "disabled": false} ] }}
But nothing is working. I keep getting this:
Expected behavior I want n8n to be able to set the radio button custimfield's value.
Environment (please complete the following information):
- OS: docker
- n8n Version: 1.16.1
- Node.js Version: don't know
- Database system: don't know
- Operation mode: main
Hey @itsmichaelk,
Thanks for the report, It looks like JIra is returning an error to say it isn't happy with the ID or the value you are sending. I will need to spend some time looking at the Jira API docs to work out what to send as it looks like it might want the ID of radio button to be sent in a special format.
Any update on this? :)
Hey @itsmichaelk,
I did take a look and oddly I couldn't see anything documented but I did see other users outside of n8n having the same issue.
What I will do to make sure I don't forget is make a dev ticket so we can handle this properly instead of needing to use an expression.