Jenkins Dynamic Parameters using bitbucket branches

Can anyone help me with a solution to this challenge I am faced with:

I need a declarative Pipeline that contains two choice parameters that are populated using git branches. These two branches will be pulled from two different Repos (Repo_s and Repo_f). I would also like to dynamically set their respective string to the latest successful build number for each selected branch. (Bearing in mind that each branch corresponds to a job). In other words, I want to display two dropdowns and two strings. I hope this makes sense. We currently have existing multi branch pipelines that can benefit from this dynamic feature if I can pull it off. Below is the image of what I intend to achieve.

Jenkins setup: