Is there a list of Context Parameter values on pullrequest anywhere? Nothing in my searches can find anything about it… The closest I could find is this
For example a webItem on the Pull Request page could have these parameters:
pullrequest
repository
user
target_user
And indeed they appear to be in there, but where do I find what values are on them? For example how does one get the pullrequest id for example? What other values are available on that parameter? Is there some documentation for this?
As for what the “root” variables are that are accessible on the page, it can be assumed by where you are in the UI. If you’re on a repository page, pullrequest won’t be available and user is available everywhere as the authenticated user.
Cheers. Thats what I was looking for. As you say it does indicate you can deduce… but this is documentation I link from the context object listings would be SOOOO useful in this case to save hunting around and wondering if you got the right one. Just makes integration so much easier.
The roots are there, just not the links to see is all.