We are using a custom plugin in Bitbucket 7.x version currently. While trying to upgrade to Bitbucket 8.x we are see an error. This plugin is using/expecting the package:
in the error as show below: com.atlassian.utils.process
1missing requirement [com.cloudflare.bitbucket.plugin.<custom_plugin_name>.<custom_plugin_name>-hook (R 165.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.utils.process)
It turns out that this package has been removed from Bitbucket 8.x as it is no longer used to run processes.
Unfortunately, I could not find any official documentation stating the deprecation of the package, only a community post for reference:
We are removing process utils from the system, as it’s no longer used to run processes. Unfortunately, there is no “compatible” way we can remove the process utils APIs. This does mean apps that wish to support 7.x and 8.x and use the builder APIs will need to release separate versions for each major line which are compiled against the relevant API versions.
I’m sure that’s not the answer you’re hoping for. My apologies for the hassle. I’ll note that it’s something we’re dealing…
What package could we use instead?
Hi Sanchita, I’m facing the same exact problem as you described.
Can you please share if and how did you overcome it?
com.atlassian.utils.process is deprecated in 8.x
It depends on what you are doing exactly. For me I used SingleLineOutputHandler which uses
thanx, i will give it a try