We have Jira and Bitbucket. We can create branch and pull requests from Jira issue, which is very convenient as they are also found by Jira and you can see the status. We use a structure with submodules and therefor it's common that an issue has more than one branch and more than one pull request as a result.
Our problem is that the status of pull requests are not always updated.
When I view the Jira issue it looks like the pull request is open, but if I click on "1 pull request", then I get a list of pull requests and the status shown is merged (which is correct).
We also have a rule to handle transitions to Done and if there are more branches and pull requests, the issue should go back to "In Review". Here is our biggest problem, because the automation rule seams to use the same data source as the issue view and when that is not up to date, the rule will kick the issue back to "In Review" even if all the pull requests are actually merged.
Some day's this is working as a charm, some weeks we struggle and have to manually go through tickets "In Review" and set them to "Done" after the system has updated the status.
Does anyone see a solution to this?