I see a signature change in getEntityProperty(), particularly in JIRA 7 (and in my compile time ) I have:
com.atlassian.jira.entity.property.EntityPropertyService$PropertyResult.getEntityProperty()Lcom/atlassian/fugue/Option;
but in JIRA 8:
com.atlassian.jira.entity.property.EntityPropertyService$PropertyResult.getEntityProperty()Lio/atlassian/fugue/Option;
this change (com/atlassian/fugue/Option -> io/atlassian/fugue/Option) leads to a runtime error, Here are error details: https://innovalog.atlassian.net/browse/JMWE-698
So, how do I write a plugin to support both JIRAs 7 and 8?