Finding stream or Baseline assocaited with workItem
Accepted answer
As far as I know there is no direct relationship between WI's and Streams or baselines. Especially there is no built in attribute for that. You could only try to find the related change sets and try to follow them. I have no example code myself.
Comments
One other answer
any plan to implement this requirement in feature releases, because this is regular use case for our developers, they want to find out where they exactly developed there source code on the stream and used that workitem. right it is very difficult to find the info.
Do you want to me open enhancement request for this