How to pass current page url param from web-item to it's target dialog

How to pass current page URL param from web-item to its target dialog through Atlassian-connect.json
example:
the web-item displaying page URL is ‘http://<>/issues/?jql=project%3DSC’
I want to pass the ‘jql=project%3DSC’ to web-item target dialog/page on Click web-item icon.