Need to create a dynamic milestoneField

Hi Team,

I'm having a requirement to make the below milestone object to Dynamic. 

Here 

Not Assigned, InProgress, Completed are fetching from one table and Review, Rejected are fetching from another table.

The milestone object should be like below. Please help me 

Thanks in advance

  Discussion posts and replies are publicly visible