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
You need to add the custom field on to the appropriate screens so that it can be set during the creation. If you are an admin, you can use JIRA's field helper to figure out the screens to be used.
If you are using APIs, there are options where you can disable the option where JIRA checks if the field is present on the screen. That might be another route you can use if you do not want users to set the field when they are using the interface.
I am using API and how can i use options where you can disable the option where JIRA checks if the field is present on the screen. I think this will work for me
Any documentation links available ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using Java APIs or REST API?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Server REST API doesn't support it I am afraid. For Cloud, you have the following option.
See https://developer.atlassian.com/cloud/jira/platform/rest/#api/2/issue-editIssue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.