Getting the following exception when trying to update a project custom field with a jira Project.
java.lang.ClassCastException: class com.atlassian.jira.issue.customfields.impl.ProjectCFType passed an invalid value of type: class com.atlassian.jira.project.ProjectImpl
How to update a project custom field with a Jira Project.