Below question is related to https://developer.atlassian.com/server/jira/platform/servlet-filter/ .
How to setup ant like variable substitution in atlassian-plugin.xml as we do in web.xml(http://tomcat.apache.org/tomcat-7.0-doc/config/).
For example I have one init param for my filter configured in web.xml and atlassian-plugin.xml as below-
<init-param>
<param-name>some.file.name</param-name>
<param-value>${BITBUCKET_HOME}/file</param-value>
</init-param>
But this does not work in atlassian-plugin.xml, I get below error -
Caused by: java.io.IOException: Unable to properly expand ${BITBUCKET_HOME}/file
I am using bitbucket version - 4.14.5