Create an internal integration at notion.so/my-integrations and copy the token.
Open your Issues database in Notion, then copy the ID from the URL. Make sure the integration has been added to that database via Share.