If an admin decided to upgrade to JIRA 8. And our plugin only supports version 7, how do i check the jira version and see if the version is below 8 then allow the plugin else disable the plugin.
By programmatically if you mean inside your plugin, you can this class https://docs.atlassian.com/software/jira/docs/api/8.0.0/com/atlassian/jira/util/BuildUtilsInfo.html
Usage is fairly straight forward,
String version = buildUtilsInfo.getVersion(); //something like to check versions.
Hi DPKJ,
thank you for your reply. Do you know how to disable the plugin if lets say version > 7?
I don't think this is possible programmatically.
if we have 2 jars, one for jira 8 and one for jira 7 how do we notify the admin when he/she upgrades from jira7 to 8 to also update our jar? Thanks @DPKJ
It looks like you're new here. Sign in or register to get started.