@verenok you mean to build an app that’s compatible with both Jira 7 and Jira 8? There are two approaches:
- build compatibility (adapter) libraries for Jira 7 and Jira 8 (compiling each against the appropriate Jira version) and call the right library based on the Jira version
- use Java introspection to call the methods; since the only difference is in the return type it’s actually easy.