Using scope filters we can get "selectedBoardId" param in the URL as mentioned here (under Advanced methods for extending the sidebar):
Developing for the JIRA project-centric view
Not sure what are other params available this way. Need to get the current selected sprint ID to use in my plugin.