I use the REST API to create Jira tickets.
Previously it worked well (I did create the issue including this custom field with REST API successfully), but the error
Field 'customfield_10399' cannot be set. It is not on the appropriate screen, or unknown.
suddenly happens recently, don't really know why.
I did check:
- When I create the Jira ticket manually, the field is there on the issue layout.
- When I call the rest API to GET the issues' info, the custom field (customfield_10399) is returned in the JSON result.
- When I use the rest API to GET all the fields of the workspace, the custom field customfield_10399 is also returned in the custom fields list. (the URL is https:/MY_WORKSPACE/rest/api/2/field/)
I'm thinking the configuration of the project might be the cause but cannot find the info anywhere else. Thank you for your support.