getEntityProperty() - how to make it work with both JIRA7 and JIRA8?

Vadim Yanushkevich March 5, 2019

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? 

1 answer

1 accepted

0 votes
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2019

Hey Vadim,

Sorry for redirecting you here but I think you'll have better luck over at the dedicated Developer Community. Since the topics are more focused, it's easier for other developers to watch the questions coming in and provide guidance.

If you cross-post the question and get an answer on the Developer Community, putting the answer here will help anybody else with the same question too.

Thanks!
Daniel

Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2019

Follow-up - someone did note this behavior already on the Developer Community:

https://community.developer.atlassian.com/t/final-touches-before-the-beta-jira-8-0-eap-08-and-some-ga-news/25201/5

Looks like this went unaddressed though!

Suggest an answer

Log in or Sign up to answer