We are running Jira integrated with a gitflow-esc process in BitBucket including build pipelines. Currently Branches, commits, and builds on the feature/bug branch are reported correctly to Jira and associated in the Jira items 'development' panel.
However, we also run a build after each PR into our working release branch (develop) - this is tracked against the merge commit which will typically have the associated Jira item(s) in it.
This build is not shown in the development panel of the associated Jira items.
I have had a look around and there does not seem to be any way to configure how the development information is sourced, and automation steps seem to have already 'linked' relevant items.
This feels like a pretty standard sort of process - to automatically track what features/bug fixes are in which release - has anyone else tackled this sort of problem?