Short lived TFS branch analysis

I need to do pull request decoration with short live tfs branch. please help me with some example to do.

Regards
Azhar