...
To use the JIRA integration, simply add an application link to the JIRA instance to which you wish to submit issues. (See https://confluence.atlassian.com/display/STASH/Linking+Stash+with+JIRA for more details about doing this). In order to submit issues, Bitbucket Server needs to be able to authenticate as the user logged into Bitbucket Server in JIRA. This means that your Application Links must be either:configured as a Trusted Application
...
.
To verify the settings, visit the /wiki/spaces/INSIGHT/pages/63275346 page.
...