Hi,
I use "customfield_18501" (Investment Category) in certain scenarios on my Confiform that we use to create Jira issues via REST API. However, even when that field has no value selected, and even hidden from the form, I get the below error when I try to create an issue that indeed does not have this field available. But the form should not be sending any value for it anyway, so I don't understand the issue. Could someone help?
{"errorMessages":[],"errors":{"customfield_18501":"Field 'customfield_18501' cannot be set. It is not on the appropriate screen, or unknown."}} (Ref: 230d5d32-6bd4-4c32-8fb2-beb923277e7d)
This is a general error from Jira when you attempt to set the field which is not on the Jira issue create screen. You have to have it on that screen.
You can use velocity templating #if #end constructions if you want to create a JSON payload more dynamically (based on field values or their presense)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.