I have to write an add-on for Jira (in java) that needs an access to a custom field.
If this custom field contains a ‘/’, getCustomFieldObjectByName always returns null.
For example :
CustomField cf = customFieldManager.getCustomFieldObjectByName("Model/s");
// cf is null
If “Model/s” is renamed in “Model”, then the method returns a valid customField.
CustomField cf = customFieldManager.getCustomFieldObjectByName("Model");
// cf is ok
Is there a way to escape the ‘/’ ?
Regards,