Hi @AlexiBrehovs, and welcome to the Atlassian Developer Community!
I’m afraid this is not possible right now, see Error when calling requestJira from bitbucket app - #2 by ibuchanan. Please watch and vote for, and ideally comment with your use case on the following issue to raise Atlassian’s priority regarding this important use case: