We are developing a jira-cloud-addon by using atlassian connect framework. In this addon we are creating custom-field through the jira REST api. Then the created custom-field is added into spesific screen using this REST call.
POST /rest/api/2/screens/{screenId}/tabs/{tabId}/fields In here the custom-field is added into Default Screen, Resolve Issue Screen, Workflow Screen. Problem is , we got an error when we are trying to insert an issue with this custom-field.
Error:
Field 'customfield_<ID>' cannot be set. It is not on the appropriate screen, or unknown.
Could you please tell me how can i fix this issue.