When creating an issue, I get the error "Field 'priority' cannot be set. It is not on the appropriate screen, or unknown." from JIRA. If I understand the API correctly, the "priority" field should not always be set, especially if it is empty.