I want to create a custom field using atlassian sdk for a given project, issue type and operation. And after this custom field is created I want to associate this custom field in any newly created project for same issue type and operation.
I am getting existing custom field by:
CustomField myField = customFieldManager.getCustomFieldObject("<my custom field name>");
I have read example on how to add project context using updateFieldConfigScheme() of FieldConfigSchemeManager. How to fetch and configure the default scheme of my custom field? And after doing that how do I associate operation specific screens of a project to this default scheme.
I am trying to search in the API docs but couldn't figure this out. Would really appreciate some guidance or any tutorial links or sample code snippets. Thanks.