How can i make sure the custom field added to JIRA is available to all projects in JIRA.
The default configuration settings of the custom field is as below
Global context. Apply to all issues in Jira.
Issue Types: Any issue type
But once i try to create the issue via API on an existing project its giving the error
customfield_' cannot be set. It is not on the appropriate screen, or unknown.
So how can i make sure the custom field is available to Create issue screen for all projects exists in my JIRA account by default. So via API i can create issues under the projects and add all custom values via API