Alternative for deprecated com.atlassian.utils.process package for Bitbucket 8.x?

Hi folks,

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: com.atlassian.utils.process in the error as show below:

1missing requirement [com.cloudflare.bitbucket.plugin.<custom_plugin_name>.<custom_plugin_name>-hook [165](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:

What package could we use instead?

2 Likes

Hi Sanchita, I’m facing the same exact problem as you described.
Can you please share if and how did you overcome it?
Thanks!

Hi @talg1978 ,

The package com.atlassian.utils.process is deprecated in 8.x
It depends on what you are doing exactly. For me I used SingleLineOutputHandler which uses com.atlassian.bitbucket.io now

1 Like

thanx, i will give it a try